From e65a1dad3b08e34d22f1219998a1b11f172994aa Mon Sep 17 00:00:00 2001 From: Jake Spain Date: Mon, 20 Mar 2023 14:11:04 -0400 Subject: [PATCH] Update test workflow names, action tags, and add ruby 3.2 --- .github/workflows/{ci.yml => test.yml} | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) rename .github/workflows/{ci.yml => test.yml} (85%) diff --git a/.github/workflows/ci.yml b/.github/workflows/test.yml similarity index 85% rename from .github/workflows/ci.yml rename to .github/workflows/test.yml index eadf380..4b9576f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/test.yml @@ -5,7 +5,7 @@ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby -name: CI +name: Test on: pull_request: @@ -13,8 +13,7 @@ on: - main jobs: - test: - + spec: runs-on: ubuntu-latest strategy: matrix: @@ -22,9 +21,10 @@ jobs: - '2.7' - '3.0' - '3.1' + - '3.2' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Ruby # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby, # change this to (see https://github.com/ruby/setup-ruby#versioning): @@ -36,18 +36,19 @@ jobs: - name: Run tests run: bundle exec rake spec - name: Coveralls - uses: coverallsapp/github-action@master + uses: coverallsapp/github-action@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }} flag-name: run-${{ matrix.ruby-version }} parallel: true finish: - needs: test + needs: spec + if: ${{ always() }} runs-on: ubuntu-latest steps: - name: Coveralls Finished - uses: coverallsapp/github-action@master + uses: coverallsapp/github-action@v2 with: github-token: ${{ secrets.github_token }} - parallel-finished: true \ No newline at end of file + parallel-finished: true