Skip to content

Commit

Permalink
Bump actions to support Node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
serggl committed May 20, 2024
1 parent 368049d commit 5292855
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/checkstyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@ name: Rubocop

on:
push:
branches:
- master
# branches:
# - master

pull_request:
branches:
- master
# branches:
# - master

jobs:
rubocop:
runs-on: ubuntu-latest

steps:
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.5.0
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}

- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ name: Test

on:
push:
branches:
- master
# branches:
# - master

pull_request:
branches:
- master
# branches:
# - master

jobs:
test:
Expand All @@ -19,23 +19,23 @@ jobs:

strategy:
matrix:
ruby-version: [2.3, 2.4, 2.5, 2.6, 2.7, 3.0]
ruby-version: [2.3, 2.4, 2.5, 2.6, 2.7, 3.0, 3.1, 3.2, 3.3]

steps:
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.5.0
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}

- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler: 1

- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: vendor/bundle
key: ${{ runner.os }}-bundle-${{ matrix.ruby-version }}-v2-${{ hashFiles('rails-data-migrations.gemspec', 'Appraisals') }}
Expand Down
2 changes: 1 addition & 1 deletion rails-data-migrations.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rake', '>= 12.3.3'
spec.add_development_dependency 'rspec', '3.5.0'
spec.add_development_dependency 'rubocop', '0.52.1'
spec.add_development_dependency 'sqlite3', '~> 1.3'
spec.add_development_dependency 'sqlite3', '~> 1.3.6'
end

0 comments on commit 5292855

Please sign in to comment.