From 74d8d1a2c7516559e0b39d379d8df749c15d5e9f Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Mon, 10 Jun 2024 11:49:38 +0200 Subject: chore: add golangci-lint to github actions --- .github/workflows/go.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5724b60..21391e4 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -17,9 +17,14 @@ jobs: - uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: stable + + - name: Lint + uses: golangci/golangci-lint-action@v6 + with: + version: v1.58 - name: Build run: go build -v ./... -- cgit v1.2.3