diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 46ca04e..4ccf9af 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,7 @@ jobs: # https://cashapp.github.io/hermit/usage/ci/ - name: Init Hermit - uses: cashapp/activate-hermit@v1 + uses: cashapp/activate-hermit@e49f5cb4dd64ff0b0b659d1d8df499595451155a # v1 with: cache: true @@ -58,7 +58,7 @@ jobs: # https://cashapp.github.io/hermit/usage/ci/ - name: Init Hermit - uses: cashapp/activate-hermit@v1 + uses: cashapp/activate-hermit@e49f5cb4dd64ff0b0b659d1d8df499595451155a # v1 with: cache: true @@ -104,7 +104,7 @@ jobs: SONATYPE_CENTRAL_PASSWORD: ${{ secrets.SONATYPE_CENTRAL_PASSWORD }} - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v5 + uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5 with: token: ${{ secrets.CODECOV_TOKEN }} verbose: true @@ -112,7 +112,7 @@ jobs: use_oidc: true - name: Upload JUnit tests report - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 with: name: tests-report-junit path: | diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index c723bf1..f23cfb8 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -52,7 +52,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@42213152a85ae7569bdb6bec7bcd74cd691bfe41 # v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -78,7 +78,7 @@ jobs: # Custom build below - name: Init Hermit - uses: cashapp/activate-hermit@v1 + uses: cashapp/activate-hermit@e49f5cb4dd64ff0b0b659d1d8df499595451155a # v1 with: cache: true - name: Build, Test, and Verify @@ -88,6 +88,6 @@ jobs: # End of custom build - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@42213152a85ae7569bdb6bec7bcd74cd691bfe41 # v3 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e506aad..88b3b90 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,9 +27,9 @@ jobs: # https://cashapp.github.io/hermit/usage/ci/ - name: Init Hermit - uses: cashapp/activate-hermit@v1 + uses: cashapp/activate-hermit@e49f5cb4dd64ff0b0b659d1d8df499595451155a # v1 - - uses: actions/cache@v4 + - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -79,7 +79,7 @@ jobs: SONATYPE_CENTRAL_PASSWORD: ${{ secrets.SONATYPE_CENTRAL_PASSWORD }} - name: Create GitHub Release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@6da8fa9354ddfdc4aeace5fc48d7f679b5214090 # v2 with: tag_name: v${{ github.event.inputs.version }} draft: false