Skip to content

Commit

Permalink
ci: rename pipeline, update versions, drop windows and macos
Browse files Browse the repository at this point in the history
- rename pipeline to "ci.yml"
- update to ruby 3.3 for rubocop
- update actions/checkout to v4
- remove the no-longer-necessary pinning of bundler
- drop windows and macos tests because this gem doesn't need it
  • Loading branch information
flavorjones committed Mar 23, 2024
1 parent 4a11085 commit f89dc84
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions .github/workflows/ci-test.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
ruby-version: "3.3"
bundler-cache: true
- run: bundle exec rake rubocop

Expand All @@ -36,27 +36,9 @@ jobs:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby-version}}
bundler-cache: true
bundler: 2.3.26 # https://github.com/rubygems/rubygems/issues/6435
- run: bundle exec rake test

test-platform:
needs: ["rubocop"]
strategy:
fail-fast: false
matrix:
platform: ["windows-latest", "macos-latest"]

runs-on: ${{matrix.platform}}
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
bundler-cache: true
bundler: latest
- run: bundle exec rake test

0 comments on commit f89dc84

Please sign in to comment.