chore(deps): update goreleaser/goreleaser-action action to v5 (#203) #291
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
cache: true | |
go-version-file: 'go.mod' | |
- name: Run tests | |
run: make ci-test | |
- name: Send test coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
- name: Run Trivy vulnerability scanner in repo mode | |
uses: aquasecurity/trivy-action@0.16.1 | |
with: | |
scan-type: "fs" | |
ignore-unfixed: true | |
vuln-type: "os,library" | |
severity: "CRITICAL,HIGH" | |
exit-code: "1" |