Skip to content

Commit

Permalink
fix: Update CI to go 1.17 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lubux committed Jan 18, 2024
1 parent cabb822 commit dd3add6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ jobs:
run: go test -v -race ./...

test-old:
name: Test with 1.15
name: Test with 1.17
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v3

- name: Set up Go 1.15
- name: Set up Go 1.17
uses: actions/setup-go@v3
with:
go-version: 1.15
go-version: 1.17

- name: Test
run: go test -v -race ./...
Expand Down
2 changes: 2 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ issues:
- missing output for example, go test can't validate it
- variable 'hasExpiredEntity' is only used in the if-statement
exclude-rules:
- path: crypto/key_clear.go
text: "SA1019"
- path: crypto/crypto_example_test.go
text: "G101: Potential hardcoded credentials"
- path: crypto/encrypt_decrypt_test.go
Expand Down

0 comments on commit dd3add6

Please sign in to comment.