ci: add Trivy fallback DB repositories #105
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: Lint | |
on: | |
push: { branches: [main] } | |
pull_request: { branches: [main] } | |
jobs: | |
linting: | |
name: Lint the code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: { go-version-file: go.mod } | |
- name: Lint the code using "golangci-lint" | |
uses: golangci/golangci-lint-action@v4 |