Przeglądaj źródła

Set golangci-lint version to v1.41.0 instead of latest

Checking if this solves the issue with new linting issues that,
at least locally, seem to have been introduced between v1.41.0
and latest (v1.43.0).
Herman Slatman 5 lat temu
rodzic
commit
42f56d6906
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      .github/workflows/test.yml

+ 1 - 1
.github/workflows/test.yml

@@ -33,7 +33,7 @@ jobs:
         uses: golangci/golangci-lint-action@v2
         with:
           # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
-          version: 'latest'
+          version: 'v1.41.0'
 
           # Optional: working directory, useful for monorepos
           # working-directory: somedir