diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f76570a..d6e90be 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,10 +22,10 @@ jobs: os: [ ubuntu-latest, macos-latest ] steps: - - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: fetch-depth: 2 - - uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 + - uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b with: java-version: 17 java-package: jdk @@ -38,7 +38,7 @@ jobs: run: echo "::set-output name=date::$(/bin/date -u "+%Y%m%d")" shell: bash - name: Use Maven dependency cache - uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.m2/repository key: ${{ runner.os }}-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/pom.xml') }} @@ -49,7 +49,7 @@ jobs: - name: Run tests run: mvn test - name: Upload coverage report to Codecov - uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 + uses: codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e4643565303 with: fail_ci_if_error: false @@ -58,16 +58,16 @@ jobs: if: ${{ github.ref == 'refs/heads/master' }} steps: - - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: fetch-depth: 0 # fetch everything - - uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 + - uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b with: java-version: 11 java-package: jdk architecture: x64 distribution: ${{ env.JAVA_DISTRIBUTION }} - - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b with: python-version: 3.8 @@ -76,7 +76,7 @@ jobs: run: echo "::set-output name=date::$(/bin/date -u "+%Y%m%d")" shell: bash - name: Use Maven dependency cache - uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.m2/repository key: ${{ runner.os }}-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/pom.xml') }} @@ -93,10 +93,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: fetch-depth: 0 # fetch everything - - uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 + - uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b with: java-version: 11 java-package: jdk @@ -108,7 +108,7 @@ jobs: run: echo "::set-output name=date::$(/bin/date -u "+%Y%m%d")" shell: bash - name: Use Maven dependency cache - uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.m2/repository key: ${{ runner.os }}-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/pom.xml') }}