Skip to content

Commit

Permalink
ci: update to test ruby 3.2, and add ruby-head coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Dec 2, 2023
1 parent 13ceea6 commit 5933a40
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ["2.7", "3.0", "3.1", "3.2"]
ruby: ["2.7", "3.0", "3.1", "3.2", "head"]
steps:
- uses: actions/checkout@v3
- run: rm Gemfile.lock
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/gem-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- run: rm Gemfile.lock
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1"
ruby-version: "3.2"
bundler: latest
bundler-cache: true
- run: "bundle exec rake gem:${{matrix.platform}}"
Expand All @@ -42,7 +42,7 @@ jobs:
steps:
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1"
ruby-version: "3.2"
- uses: actions/download-artifact@v3
with:
name: gem-ruby
Expand All @@ -56,7 +56,7 @@ jobs:
steps:
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1"
ruby-version: "3.2"
- uses: actions/download-artifact@v3
with:
name: gem-x86_64-linux
Expand All @@ -68,7 +68,7 @@ jobs:
needs: ["package"]
runs-on: ubuntu-latest
container:
image: ruby:3.1-alpine
image: ruby:3.2-alpine
steps:
- uses: actions/download-artifact@v3
with:
Expand All @@ -89,7 +89,7 @@ jobs:
path: pkg
- run: |
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
docker run --rm -v "$(pwd):/test" -w /test --platform=linux/arm/v7 ruby:3.1 \
docker run --rm -v "$(pwd):/test" -w /test --platform=linux/arm/v7 ruby:3.2 \
/bin/bash -c "
set -ex
gem install pkg/tailwindcss-rails-*.gem
Expand All @@ -102,7 +102,7 @@ jobs:
steps:
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1"
ruby-version: "3.2"
- uses: actions/download-artifact@v3
with:
name: gem-x86_64-darwin
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
steps:
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1"
ruby-version: "3.2"
- uses: actions/download-artifact@v3
with:
name: gem-x64-mingw-ucrt
Expand Down

0 comments on commit 5933a40

Please sign in to comment.