Skip to content

Commit

Permalink
fix: use witness-run-action instead of testifysec-run-action
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhailswift committed Jun 22, 2023
1 parent e9c59bf commit 8adff10
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ jobs:
run: go install github.com/praetorian-inc/gokart@latest

- name: Static Analysis
uses: testifysec/testify-run-action@main
uses: testifysec/witness-run-action@bdd82729b316d071606007cc9eecae326429caaf
with:
step-name: static-analysis
attestors: "github sarif"
step: static-analysis
attestations: "github sarif"
command: gokart scan . -o sarif-results.json -s

- name: Test
uses: testifysec/testify-run-action@main
uses: testifysec/witness-run-action@bdd82729b316d071606007cc9eecae326429caaf
with:
step-name: "test"
attestors: "github"
step: "test"
attestations: "github"
command: go test -v -coverprofile=profile.cov -covermode=atomic ./...

- name: Send coverage
Expand Down Expand Up @@ -81,11 +81,11 @@ jobs:
run: go install github.com/goreleaser/goreleaser@latest

- name: Run GoReleaser
uses: testifysec/testify-run-action@main
uses: testifysec/witness-run-action@bdd82729b316d071606007cc9eecae326429caaf
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY_OWNER: ${{ github.repository_owner }}
with:
step-name: "build"
attestors: "github sbom"
command: goreleaser release --rm-dist
step: "build"
attestations: "github sbom"
command: goreleaser release --rm-dist

0 comments on commit 8adff10

Please sign in to comment.