Skip to content

Commit 04463bf

Browse files
Add Ruby 3.2 to CI. Upgrade actions. Quote 3.0. (#350)
1 parent 5bf7225 commit 04463bf

File tree

2 files changed

+5
-19
lines changed

2 files changed

+5
-19
lines changed

.github/workflows/linter.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,17 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
ruby: [ 2.7, 3.0 ]
10+
ruby: [ 2.7, "3.0" ]
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout code
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v3
1515

1616
- name: Setup Ruby
1717
uses: ruby/setup-ruby@v1
1818
with:
1919
ruby-version: ${{ matrix.ruby }}
2020
bundler-cache: true
21-
22-
- name: Ruby gem cache
23-
uses: actions/cache@v1
24-
with:
25-
path: vendor/bundle
26-
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
27-
restore-keys: |
28-
${{ runner.os }}-gems-
29-
30-
- name: Install gems
31-
run: |
32-
bundle config path vendor/bundle
33-
bundle install --jobs 4 --retry 3
34-
3521
- name: Run linters
3622
run: |
3723
bundle exec rubocop --parallel

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
gemfile: [websocket-driver-0.6.x, websocket-driver-0.7.x]
15-
ruby: [2.6, 2.7, 3.0, 3.1]
15+
ruby: [2.6, 2.7, "3.0", 3.1, 3.2]
1616
runs-on: ubuntu-latest
1717
env:
1818
FERRUM_PROCESS_TIMEOUT: 20
1919
FERRUM_DEFAULT_TIMEOUT: 10
2020
BUNDLE_GEMFILE: .github/gemfiles/${{ matrix.gemfile }}.gemfile
2121
steps:
2222
- name: Checkout code
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@v3
2424

2525
- name: Setup Ruby
2626
uses: ruby/setup-ruby@v1
@@ -39,7 +39,7 @@ jobs:
3939
run: bundle exec rake
4040

4141
- name: Archive artifacts
42-
uses: actions/upload-artifact@v2
42+
uses: actions/upload-artifact@v3
4343
if: ${{ failure() }}
4444
with:
4545
name: footprints

0 commit comments

Comments
 (0)