Skip to content

update links to chat in README #1022

update links to chat in README

update links to chat in README #1022

Workflow file for this run

name: CI
on:
push:
branches: ['**']
paths-ignore: ['*.adoc', 'docs/**']
pull_request:
paths-ignore: ['*.adoc', 'docs/**']
#schedule:
#- cron: '30 2 * * MON'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
ruby: ['2.4', '2.7', '3.2']
jekyll-version: [~]
pygments-version: [~]
exclude:
# remove entry to mark as primary
- os: ubuntu-latest
ruby: '2.7'
include:
- os: windows-latest
ruby: '2.7'
- os: ubuntu-latest
ruby: '2.7'
pygments-version: '1.2.0'
- os: ubuntu-latest
ruby: '2.7'
jekyll-version: '3.9.0'
- os: ubuntu-latest
ruby: '2.7'
primary: primary
runs-on: ${{ matrix.os }}
env:
BUNDLE_WITHOUT: coverage:docs:lint
SOURCE_DATE_EPOCH: '1521504000'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set Jekyll version
if: matrix.jekyll-version
run: echo 'JEKYLL_VERSION=${{ matrix.jekyll-version }}' >> $GITHUB_ENV
- name: Set Pygments version
if: matrix.pygments-version
run: echo 'PYGMENTS_VERSION=${{ matrix.pygments-version }}' >> $GITHUB_ENV
- name: Install prerequisites for Pygments ~> 1.2.0 (Linux)
if: matrix.os == 'ubuntu-latest' && matrix.pygments-version == '1.2.0'
run: sudo apt-get install python2
- name: Enable lint and coverage (primary only)
if: matrix.primary
run: |
echo 'BUNDLE_WITHOUT=docs' >> $GITHUB_ENV
echo 'COVERAGE=deep' >> $GITHUB_ENV
- name: Install Ruby (uses cached dependencies for non-scheduled build)
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: ${{ github.event_name != 'schedule' }}
- name: Install dependencies (scheduled build only)
if: github.event_name == 'schedule'
run: |
bundle config --local path vendor/bundle
bundle --jobs 3 --retry 3
- name: Run linter (primary only)
if: matrix.primary
run: bundle exec rake lint
- name: Run tests
run: bundle exec ruby -w $(bundle exec ruby -e 'print File.join Gem.bindir, %q(rake)') spec