chore: bump github.com/aquasecurity/trivy from 0.45.0 to 0.45.1 #577
Workflow file for this run
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: Check dependencies | |
on: | |
push: | |
# paths: | |
# - '**.go' | |
branches: | |
- main | |
- release-* | |
pull_request: | |
# paths: | |
# - '**.go' | |
branches: | |
- main | |
- release-* | |
permissions: read-all | |
jobs: | |
check-deps: | |
name: "Check dependencies" | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 | |
- name: Set up Go 1.21 | |
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 | |
with: | |
go-version: "1.21" | |
- name: Check go.mod | |
shell: bash | |
run: | | |
# there should be no go.mod changes | |
go mod tidy | |
git diff --exit-code |