From b4bbffccfb7521b505190c3ddccec82125bd453e Mon Sep 17 00:00:00 2001 From: Joe Rafaniello Date: Tue, 13 Feb 2024 10:40:51 -0500 Subject: [PATCH] Test with ruby 3.1 and 3.0 --- .github/workflows/ci.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f04bccd..2f56cb2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,11 +1,10 @@ +--- name: CI - on: push: pull_request: schedule: - - cron: '0 0 * * 0' - + - cron: 0 0 * * 0 jobs: ci: runs-on: ubuntu-latest @@ -16,19 +15,20 @@ jobs: - '2.6' - '2.7' - '3.0' + - '3.1' env: - CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} + CC_TEST_REPORTER_ID: "${{ secrets.CC_TEST_REPORTER_ID }}" steps: - uses: actions/checkout@v4 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: ${{ matrix.ruby-version }} + ruby-version: "${{ matrix.ruby-version }}" bundler-cache: true timeout-minutes: 30 - name: Run tests run: bundle exec rake - name: Report code coverage - if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.0' }} + if: "${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.0' }}" continue-on-error: true uses: paambaati/codeclimate-action@v5