From 8a0a1f18a7072abc4447e6992b21ca2fa38120d5 Mon Sep 17 00:00:00 2001 From: Adam Simpson Date: Thu, 22 Feb 2024 17:43:07 +0000 Subject: [PATCH] install golangci-lint --- .github/workflows/run-ci-cd.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/run-ci-cd.yml b/.github/workflows/run-ci-cd.yml index 04b488b6..b207e33e 100644 --- a/.github/workflows/run-ci-cd.yml +++ b/.github/workflows/run-ci-cd.yml @@ -18,6 +18,13 @@ jobs: uses: actions/setup-go@v5 with: go-version: 'stable' + + - name: golangci-lint + uses: golangci/golangci-lint-action@v4 + with: + # When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version. + # When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit. + version: latest - name: Check spelling run: npx --yes cspell@6.13.3 -c cspell.config.json "**/*.{ts,tsx,js,go,md,mdx,yml,yaml,json,scss,css}"