Skip to content

reference ruby v1 branch in gh action #504

reference ruby v1 branch in gh action

reference ruby v1 branch in gh action #504

Workflow file for this run

name: Run tests
on:
push:
pull_request:
schedule:
- cron: '4 1 * * SUN'
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
version:
[
'3.0',
3.1,
3.2,
3.3,
3.4,
jruby,
]
exclude:
- os: windows-latest
version: jruby
steps:
- uses: actions/checkout@v4
with:
submodules: true
persist-credentials: false
# zizmor complains that 'v1' is a ref that can be provided by both the branch and tag namespaces.
# specify that we want the v1 branch.
with:

Check failure on line 36 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Run tests

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 36, Col: 9): 'with' is already defined
ruby-version: ${{ matrix.version }}
- run: bundle install
- run: bundle exec rake -t spec