Add 'runs-on' directive to lint and govulncheck steps

This ensures the lint and vulnerability check steps run on the 'ubuntu-latest' environment. Establishing a clear execution environment helps maintain consistency across CI runs.
This commit is contained in:
Winni Neessen 2024-10-26 15:48:10 +02:00
parent 4d4aa1e1df
commit 9c57ba56cf
Signed by: wneessen
GPG key ID: 385AC9889632126E

View file

@ -55,6 +55,7 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
lint:
name: golangci-lint (${{ matrix.go }})
runs-on: ubuntu-latest
concurrency:
group: ci-lint
cancel-in-progress: true
@ -92,6 +93,7 @@ jobs:
uses: actions/dependency-review-action@a6993e2c61fd5dc440b409aa1d6904921c5e1894 # v4.3.5
govulncheck:
name: Go vulnerabilities check
runs-on: ubuntu-latest
concurrency:
group: ci-govulncheck
cancel-in-progress: true