diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 6174fa9..3904e2c 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -1,7 +1,9 @@ -name: Unit Test +name: Test on: - - push - - pull_request + push: + branches: [master] + pull_request: + branches: [master] jobs: test: runs-on: ${{ matrix.os }} @@ -9,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: [ '2.5', '2.6', '2.7', '3.0' ] + ruby: [ '3.1', '3.0', '2.7', '2.6' ] os: - windows-latest experimental: [false] @@ -17,7 +19,7 @@ jobs: - ruby: 'head' os: windows-latest experimental: true - name: Unit testing with Ruby ${{ matrix.ruby }} on ${{ matrix.os }} + name: Ruby ${{ matrix.ruby }} on ${{ matrix.os }} steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1