From 21a1ef2a5e285c988ff617b3c50fcb1a07b8b28f Mon Sep 17 00:00:00 2001 From: Krisztian Litkey Date: Fri, 13 Dec 2024 09:26:09 +0200 Subject: [PATCH] .github: add golangci-lint verification. Signed-off-by: Krisztian Litkey --- .github/workflows/project-checks.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/project-checks.yaml b/.github/workflows/project-checks.yaml index 2be358ba2..0cfa44a3a 100644 --- a/.github/workflows/project-checks.yaml +++ b/.github/workflows/project-checks.yaml @@ -90,3 +90,16 @@ jobs: git config user.name "Github" git config user.email "no-reply@github.com" ./scripts/build/update-gh-pages.sh + + golangci-lint: + name: Lint / golangci-lint + runs-on: ubuntu-24.04 + timeout-minutes: 5 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: ${{ env.GO_VERSION }} + - uses: golangci/golangci-lint-action@v6 + with: + version: v1.61