Skip to content

Commit dd8f9ef

Browse files
committed
Github actions linter uses [email protected]
1 parent 1c1bc0b commit dd8f9ef

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/go.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
go: [stable, oldstable]
13+
# starting with go 1.24 the GODEBUG=x509sha1=1 flag has been removed.
14+
# many tests rely on sha1 certificates. After resolving #1413 we can
15+
# run these on stable and old stable again.
16+
go: ['1.23', '1.22']
1417
services:
1518
# Label used to access the service container
1619
postgres:
@@ -76,4 +79,9 @@ jobs:
7679
go-version: 1.18
7780
- name: golangci-lint
7881
uses: golangci/golangci-lint-action@v6
79-
82+
with:
83+
# There is a breaking change in 1.58 that causes the linter not to recognize
84+
# internal imports or standard library imports and results in linting errors
85+
# that cannot be ignored.
86+
# e.g certdb/certdb.go:5:2: could not import encoding/json (Config.Importer.Import(encoding/json) returned nil but no error) (typecheck)
87+
version: v1.57

0 commit comments

Comments
 (0)