Skip to content

Commit 0c8dbef

Browse files
Merge pull request #11 from parvezmosharafvu/copilot/fix-lint-job-failure
Fix lint workflow for Go 1.26 and suppress repo-wide newexpr noise
2 parents 1436ac3 + 4131102 commit 0c8dbef

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/lint.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: ./.github/actions/build-ui
1919
- uses: actions/setup-go@v7
2020
with:
21-
go-version: '1.25'
21+
go-version: '1.26'
2222
- name: golangci-lint
2323
uses: golangci/golangci-lint-action@v9
2424
with:

‎.golangci.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ linters:
3434
- linters:
3535
- revive
3636
text: "var-naming: avoid package names that conflict with Go standard library package names"
37+
- linters:
38+
- modernize
39+
text: "newexpr:"
3740
settings:
3841
staticcheck:
3942
checks:

0 commit comments

Comments
 (0)