1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00
middleman--middleman/.github/workflows
Patrik Ragnarsson 8da1947b0d
CI: Workaround YAML gotcha in Actions (#2431)
To avoid unexpectedly stop testing Ruby 3.0 when Ruby 3.1 is released.

See https://github.com/actions/runner/issues/849

At https://github.com/middleman/middleman/runs/1631689419?check_suite_focus=true#step:3:3 we can see that the setup-ruby action ran with just 3 as the input:

```
Run ruby/setup-ruby@v1
  with:
    ruby-version: 3
```

If we quote the version it works as expected, example at https://github.com/ruby/setup-ruby/runs/1617122299?check_suite_focus=true#step:3:3

```
Run ./
  with:
    ruby-version: 3.0
```
2021-01-02 19:28:08 -08:00
..
ci.yml CI: Workaround YAML gotcha in Actions (#2431) 2021-01-02 19:28:08 -08:00