From e92cea3f42893e2cc4f255f31eceb901e1483c81 Mon Sep 17 00:00:00 2001 From: Joakim Antman Date: Thu, 23 Jun 2022 09:06:03 +0300 Subject: [PATCH] Run tests on ubuntu 22 with openssl 3.0 --- .github/workflows/test.yml | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f6d4f51c..1a0736db 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: timeout-minutes: 30 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: @@ -22,34 +22,35 @@ jobs: - name: Run RuboCop run: bundle exec rubocop test: + name: ${{ matrix.os }} ${{ matrix.ruby }} + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: + os: + - ubuntu-20.04 ruby: - - 2.5 - - 2.6 - - 2.7 + - "2.5" + - "2.6" + - "2.7" - "3.0" - - 3.1 + - "3.1" gemfile: - gemfiles/standalone.gemfile - gemfiles/openssl.gemfile - gemfiles/rbnacl.gemfile experimental: [false] include: - - ruby: 2.7 - gemfile: 'gemfiles/rbnacl.gemfile' - - ruby: "ruby-head" - experimental: true - - ruby: "truffleruby-head" - experimental: true - runs-on: ubuntu-20.04 + - { os: ubuntu-20.04, ruby: "2.7", gemfile: 'gemfiles/rbnacl.gemfile', experimental: false } + - { os: ubuntu-22.04, ruby: "3.1", experimental: false } + - { os: ubuntu-20.04, ruby: "truffleruby-head", experimental: true } + - { os: ubuntu-22.04, ruby: "head", experimental: true } continue-on-error: ${{ matrix.experimental }} env: BUNDLE_GEMFILE: ${{ matrix.gemfile }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install libsodium run: |