Skip to content

Commit

Permalink
Update actions in 3-0-stable branch
Browse files Browse the repository at this point in the history
Also test against Ruby 3.3

To avoid deprecations
  • Loading branch information
tagliala committed May 1, 2024
1 parent 42e52ab commit ae04d50
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,21 @@ jobs:
fail-fast: false
matrix:
ruby:
- 3.3
- 3.2
- 3.1
- '3.0'
os:
- ubuntu-latest
deps:
- rails_61
- rails_70
- rails_71
- rails_70
- rails_61
include:
- ruby: '3.0'
os: ubuntu-latest
deps: rails_71
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Configure bundler (default)
run: |
echo "BUNDLE_GEMFILE=Gemfile" >> "$GITHUB_ENV"
Expand All @@ -49,7 +53,7 @@ jobs:
- name: Create test app
run: bin/rake setup
- name: Restore cached RSpec runtimes
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: tmp/parallel_runtime_rspec.log
key: runtimes-rspec-${{ matrix.ruby }}-${{ matrix.deps }}-${{ hashFiles('tmp/parallel_runtime_rspec.log') }}
Expand All @@ -60,7 +64,7 @@ jobs:
bin/parallel_rspec
RSPEC_FILESYSTEM_CHANGES=true bin/rspec
- name: Restore cached cucumber runtimes
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: tmp/parallel_runtime_cucumber.log
key: runtimes-cucumber-${{ matrix.ruby }}-${{ matrix.deps }}-${{ hashFiles('tmp/parallel_runtime_cucumber.log') }}
Expand All @@ -71,7 +75,7 @@ jobs:
bin/parallel_cucumber --fail-fast
bin/cucumber --profile filesystem-changes
bin/cucumber --profile class-reloading
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: coverage
path: coverage
Expand All @@ -82,12 +86,12 @@ jobs:
runs-on: ubuntu-latest
needs: [test]
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: coverage
path: coverage
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
directory: coverage
fail_ci_if_error: true
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ on:
pull_request:

env:
RUBY_VERSION: 3.2
RUBY_VERSION: 3.3

jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
Expand Down

0 comments on commit ae04d50

Please sign in to comment.