Skip to content

Commit

Permalink
Run on latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
anakinj committed Dec 28, 2024
1 parent 847094b commit ea2c2c0
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1"
ruby-version: ruby
bundler-cache: true
- name: Run RuboCop
run: bundle exec rubocop
Expand All @@ -29,6 +29,7 @@ jobs:
matrix:
os:
- ubuntu-20.04
- ubuntu-latest
ruby:
- "2.5"
- "2.6"
Expand All @@ -37,22 +38,19 @@ jobs:
- "3.1"
- "3.2"
- "3.3"
- "3.4"
gemfile:
- gemfiles/standalone.gemfile
- gemfiles/openssl.gemfile
- gemfiles/rbnacl.gemfile
- gemfiles/rbnacl_pre_6.gemfile
experimental: [false]
include:
- os: ubuntu-22.04
ruby: "3.1"
gemfile: 'gemfiles/standalone.gemfile'
experimental: false
- os: ubuntu-20.04
ruby: "truffleruby-head"
gemfile: 'gemfiles/standalone.gemfile'
experimental: true
- os: ubuntu-22.04
- os: ubuntu-latest
ruby: "head"
gemfile: 'gemfiles/standalone.gemfile'
experimental: true
Expand All @@ -61,7 +59,7 @@ jobs:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install libsodium
run: |
Expand All @@ -86,7 +84,7 @@ jobs:

coverage:
name: Report coverage to Code Climate
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
needs: test
if: success() && github.ref == 'refs/heads/main'
env:
Expand All @@ -108,11 +106,11 @@ jobs:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1"
ruby-version: ruby
- name: Build GEM
run: gem build
- name: Install built GEM
Expand Down

0 comments on commit ea2c2c0

Please sign in to comment.