From 9c57ba56cff99fa543ac603c9ee32e760fd7df53 Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Sat, 26 Oct 2024 15:48:10 +0200 Subject: [PATCH] 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. --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db3c512..04f7350 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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