Skip to content

Commit

Permalink
chore: update checkout@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
route committed Dec 31, 2023
1 parent 910ab59 commit 9e18f73
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 22 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,18 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [ 2.7, 3.0 ]
ruby: [ 2.7, "3.0" ]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Ruby gem cache
uses: actions/cache@v1
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Install gems
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Run linters
run: |
bundle exec rubocop --parallel
14 changes: 7 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
fail-fast: false
matrix:
gemfile: [websocket-driver-0.6.x, websocket-driver-0.7.x]
ruby: [2.7, 3.0, 3.1]
ruby: [2.7, "3.0", 3.1, 3.2, 3.3]
runs-on: ubuntu-latest
env:
FERRUM_PROCESS_TIMEOUT: 20
FERRUM_PROCESS_TIMEOUT: 25
FERRUM_DEFAULT_TIMEOUT: 15
BUNDLE_GEMFILE: .github/gemfiles/${{ matrix.gemfile }}.gemfile
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
Expand All @@ -33,13 +33,13 @@ jobs:
with:
chrome-version: stable

- run: mkdir -p /tmp/cuprite

- name: Run tests
run: bundle exec rake
run: |
mkdir -p /tmp/cuprite
bundle exec rake
- name: Archive artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: footprints
Expand Down

0 comments on commit 9e18f73

Please sign in to comment.