From 9137045d724857ceeabd5b4551beb13be17ab914 Mon Sep 17 00:00:00 2001 From: Nicholas Flynt Date: Fri, 24 May 2024 12:50:53 -0400 Subject: [PATCH] Take a stab at getting golangci-lint working --- .github/workflows/ci.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1a594efd..e34a46c8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,7 +19,15 @@ jobs: uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: go-version-file: 'go.mod' + - name: Install mockgen + run: go install github.com/golang/mock/mockgen@v1.6.0 + - name: Install golangci-lint + uses: golangci/golangci-lint-action@v6 + with: + version: v1.57.1 - name: Build run: make build-bin - name: Test run: make test + - name: Validate + run: make validate