Force rubygems 3.4.10 for github actions
This works around a problem where mini_racer doesn't like the psych in the GitHub Actions images for ruby 3.0 and 3.1 but it fine with the ruby 3.2 image that uses a newer rubygems version. https://github.com/rubyjs/mini_racer/issues/289
This commit is contained in:
parent
b45bce3370
commit
6cd9caa4e1
2 changed files with 6 additions and 0 deletions
5
.github/workflows/lint.yml
vendored
5
.github/workflows/lint.yml
vendored
|
@ -19,6 +19,7 @@ jobs:
|
|||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ env.ruby }}
|
||||
rubygems: 3.4.10
|
||||
bundler-cache: true
|
||||
- name: Run rubocop
|
||||
run: bundle exec rubocop --format fuubar
|
||||
|
@ -32,6 +33,7 @@ jobs:
|
|||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ env.ruby }}
|
||||
rubygems: 3.4.10
|
||||
bundler-cache: true
|
||||
- name: Run erblint
|
||||
run: bundle exec erblint .
|
||||
|
@ -45,6 +47,7 @@ jobs:
|
|||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ env.ruby }}
|
||||
rubygems: 3.4.10
|
||||
bundler-cache: true
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v3
|
||||
|
@ -69,6 +72,7 @@ jobs:
|
|||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ env.ruby }}
|
||||
rubygems: 3.4.10
|
||||
bundler-cache: true
|
||||
- name: Run brakeman
|
||||
run: bundle exec brakeman -q
|
||||
|
@ -84,6 +88,7 @@ jobs:
|
|||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ env.ruby }}
|
||||
rubygems: 3.4.10
|
||||
bundler-cache: true
|
||||
- name: Setup database
|
||||
run: |
|
||||
|
|
1
.github/workflows/tests.yml
vendored
1
.github/workflows/tests.yml
vendored
|
@ -23,6 +23,7 @@ jobs:
|
|||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ matrix.ruby }}
|
||||
rubygems: 3.4.10
|
||||
bundler-cache: true
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue