From 15b5bf377313fd50ce2c1a49c8e9122f08f04b5a Mon Sep 17 00:00:00 2001 From: Benjamin Quorning Date: Mon, 28 Oct 2024 19:42:27 +0100 Subject: [PATCH] CI: Test with Ruby versions up to 3.3 --- .github/workflows/unit_test.yml | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml index aff908ec..4fb73b76 100644 --- a/.github/workflows/unit_test.yml +++ b/.github/workflows/unit_test.yml @@ -15,6 +15,10 @@ jobs: strategy: matrix: ruby: + - 3.3 + - 3.2 + - 3.1 + - '3.0' - 2.7 - 2.6 - 2.5 @@ -24,14 +28,13 @@ jobs: - ':27.' fail-fast: false steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - - name: install bundler - run: | - gem install bundler -v '~> 1.17.3' - bundle update + bundler-cache: true + - name: Update gems + run: bundle update - name: install docker env: DOCKER_VERSION: ${{ matrix.docker_version }} @@ -61,20 +64,23 @@ jobs: strategy: matrix: ruby: + - 3.3 + - 3.2 + - 3.1 + - '3.0' - 2.7 - 2.6 - 2.5 - 2.4 fail-fast: false steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - - name: install bundler - run: | - gem install bundler -v '~> 1.17.3' - bundle update + bundler-cache: true + - name: Update gems + run: bundle update - name: install podman run: sudo ./script/install_podman.sh - name: spec tests