diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ac9edff..8285d7a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,15 +16,15 @@ jobs: steps: - name: Get branch names id: branch-name - uses: tj-actions/branch-names@v7.0.7 - - uses: actions/checkout@v3 - - uses: ruby/setup-ruby@v1 + uses: tj-actions/branch-names@6c999acf206f5561e19f46301bb310e9e70d8815 # v7.0.7 + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 + - uses: ruby/setup-ruby@13e7a03dc3ac6c3798f4570bfead2aed4d96abfb # v1.244.0 with: - ruby-version: '3.0' + ruby-version: '3.2' bundler-cache: true - name: Test & publish code coverage if: "${{ env.CC_TEST_REPORTER_ID != '' }}" - uses: paambaati/codeclimate-action@v2.7.5 + uses: paambaati/codeclimate-action@7bcf9e73c0ee77d178e72c0ec69f1a99c1afc1f3 # v2.7.5 env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} GIT_BRANCH: ${{ steps.branch-name.outputs.current_branch }} @@ -37,7 +37,7 @@ jobs: fail-fast: false matrix: os: ['ubuntu-latest', 'macos-latest'] - ruby: ['3.0', '3.1'] + ruby: ['3.2', '3.3', '3.4'] experimental: [false] include: - os: 'ubuntu-latest' @@ -46,8 +46,8 @@ jobs: runs-on: ${{ matrix.os }} continue-on-error: ${{ matrix.experimental }} steps: - - uses: actions/checkout@v3 - - uses: ruby/setup-ruby@v1 + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 + - uses: ruby/setup-ruby@13e7a03dc3ac6c3798f4570bfead2aed4d96abfb # v1.244.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true