Skip to content

Commit 03b83f5

Browse files
committed
Allow use of deprecated go/ast package for now
Linter was complaining about use of the `go/ast` package. Disabling the check for the moment as this will require extra changes.
1 parent 6b7e63d commit 03b83f5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v4
1111

1212
- name: Lint
13-
uses: golangci/golangci-lint-action@v3
13+
uses: golangci/golangci-lint-action@v6
1414
with:
1515
only-new-issues: true
1616

@@ -22,9 +22,9 @@ jobs:
2222
- uses: actions/checkout@v4
2323

2424
- name: Set up Go
25-
uses: actions/setup-go@v4
25+
uses: actions/setup-go@v5
2626
with:
27-
go-version: '1.20'
27+
go-version: '1.23'
2828

2929
- name: Test
3030
run: |

goutil/goutil.go

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
// Package goutil provides functions to work with Go source files.
2+
//
3+
//nolint:staticcheck
24
package goutil // import "github.com/teamwork/utils/v2/goutil"
35

46
import (

0 commit comments

Comments
 (0)