Audit #85
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: "Audit" | |
on: # yamllint disable-line rule:truthy | |
push: | |
pull_request: | |
schedule: | |
- cron: "0 0 * * 1" | |
jobs: | |
Audit: | |
runs-on: "ubuntu-24.04" | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.23.3' | |
- uses: "actions/checkout@v4" | |
- run: "sudo apt-get update" | |
- run: "sudo apt-get install -y cargo curl" | |
- run: "curl -LO https://downloads.snyk.io/cli/stable/snyk-linux" | |
- run: "sudo cp snyk-linux /bin/snyk" | |
- run: "sudo chmod a+x /bin/snyk" | |
- run: "make -j 4 go" | |
- run: "mage audit" | |
env: | |
SNYK_TOKEN: "${{ secrets.SNYK_TOKEN }}" |