From af84d7fb1d8e1589a54bd286f843a84583773bd6 Mon Sep 17 00:00:00 2001 From: Brandon Stoll Date: Tue, 2 Dec 2025 22:00:34 +0000 Subject: [PATCH] Use pinned action version and allow failures. --- .github/workflows/basic_go.yml | 11 ++++------- .github/workflows/go.yml | 13 +++++-------- 2 files changed, 9 insertions(+), 15 deletions(-) diff --git a/.github/workflows/basic_go.yml b/.github/workflows/basic_go.yml index e8767fd..a0664ab 100644 --- a/.github/workflows/basic_go.yml +++ b/.github/workflows/basic_go.yml @@ -191,15 +191,12 @@ jobs: go test -v -coverprofile=profile.cov $(go list ./... | grep -E -v "${COVERAGE_EXCLUDES_REGEX}") fi - - name: Install goveralls - if: ${{ !cancelled() }} - run: go install github.com/mattn/goveralls@latest - - name: Submit coverage if: ${{ !cancelled() }} - env: - COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: goveralls -coverprofile=profile.cov -service=github + continue-on-error: true + uses: shogo82148/actions-goveralls@25f5320d970fb565100cf1993ada29be1bb196a1 # v1.10.0 + with: + path-to-profile: profile.cov staticcheck: name: staticcheck diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 819ccca..0343064 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -70,15 +70,12 @@ jobs: go test -v -coverprofile=profile.cov $(go list ./... | grep -E -v "${COVERAGE_EXCLUDES_REGEX}") fi - - name: Install goveralls - if: ${{ matrix.go == fromJson(inputs.go-versions)[0] }} - run: go install github.com/mattn/goveralls@latest - - name: Submit coverage - if: ${{ matrix.go == fromJson(inputs.go-versions)[0] }} - env: - COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: goveralls -coverprofile=profile.cov -service=github + if: ${{ !cancelled() }} + continue-on-error: true + uses: shogo82148/actions-goveralls@25f5320d970fb565100cf1993ada29be1bb196a1 # v1.10.0 + with: + path-to-profile: profile.cov - name: Run Tests env: