diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f76570a..3025f8a 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@8df1039502a15bceb9433410b1a100fbe190c53b 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@6849a6489940f00c2f30c0fb92c6274307ccb58a 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@015f24e6818733317a2da2edd6290ab26238649a 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@8df1039502a15bceb9433410b1a100fbe190c53b 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@6849a6489940f00c2f30c0fb92c6274307ccb58a 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@8df1039502a15bceb9433410b1a100fbe190c53b 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@6849a6489940f00c2f30c0fb92c6274307ccb58a with: path: ~/.m2/repository key: ${{ runner.os }}-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/pom.xml') }}