From 41c5dbba2bafe40490f6ab5ee316cf9793961799 Mon Sep 17 00:00:00 2001 From: PikachuEXE Date: Wed, 18 Oct 2023 20:49:13 +0800 Subject: [PATCH] * Update CI to run with latest ubuntu, test against ruby 3.2, update actions/checkout & codecov/codecov-action --- .github/workflows/main.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 817fca0..e3d8691 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,15 +11,20 @@ on: jobs: base: name: Ruby ${{ matrix.ruby }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: fail-fast: false matrix: - ruby: ["2.6", "2.7", "3.0", "3.1"] + ruby: + - "2.6" + - "2.7" + - "3.0" + - "3.1" + - "3.2" steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 # This setup is not compatible with the way Travis CI was # setup, so the cache will only work for the root folder. @@ -30,9 +35,9 @@ jobs: bundler-cache: true - name: Rake - run: rake + run: bundle exec rake - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v3 lint: runs-on: ubuntu-latest