Skip to content

Commit

Permalink
CI: Workaround YAML gotcha in Actions
Browse files Browse the repository at this point in the history
To avoid unexpectedly stop testing Ruby 3.0 when Ruby 3.1 is released.

See actions/runner#849

At https://github.com/rack/rack/runs/2041788658?check_suite_focus=true#step:3:3 we can see that the setup-ruby action ran with just `3` as the input and not `3.0`.
  • Loading branch information
dentarg authored Mar 14, 2021
1 parent 138cba2 commit dacd046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
ruby: [2.4, 2.5, 2.6, 2.7, 3.0, jruby, truffleruby-head]
ruby: [2.4, 2.5, 2.6, 2.7, '3.0', jruby, truffleruby-head]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit dacd046

Please sign in to comment.