Skip to content

Commit

Permalink
ci: update pipelines to use ruby 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Sep 19, 2022
1 parent fac26b1 commit a7b922f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [2.7, "3.0", 3.1]

ruby: ["2.7", "3.0", "3.1"]
steps:
- uses: actions/checkout@v2

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

- name: Run tests
run: bin/test

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/gem-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.0"
ruby-version: "3.1"
bundler: latest
bundler-cache: true
- run: "bundle exec rake gem:${{matrix.platform}}"
Expand All @@ -41,7 +41,7 @@ jobs:
steps:
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.0"
ruby-version: "3.1"
- uses: actions/download-artifact@v2
with:
name: gem-ruby
Expand All @@ -55,7 +55,7 @@ jobs:
steps:
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.0"
ruby-version: "3.1"
- uses: actions/download-artifact@v2
with:
name: gem-x86_64-linux
Expand All @@ -67,7 +67,7 @@ jobs:
needs: ["package"]
runs-on: ubuntu-latest
container:
image: ruby:3.0-alpine
image: ruby:3.1-alpine
steps:
- uses: actions/download-artifact@v2
with:
Expand All @@ -83,7 +83,7 @@ jobs:
steps:
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.0"
ruby-version: "3.1"
- uses: actions/download-artifact@v2
with:
name: gem-x86_64-darwin
Expand All @@ -97,7 +97,7 @@ jobs:
steps:
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.0"
ruby-version: "3.1"
- uses: actions/download-artifact@v2
with:
name: gem-x64-mingw32
Expand Down

0 comments on commit a7b922f

Please sign in to comment.