Răsfoiți Sursa

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 ani în urmă
părinte
comite
42f56d6906
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      .github/workflows/test.yml

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

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