Skip to content

Commit

Permalink
Various CI/linting updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Preston12321 committed Oct 31, 2024
1 parent 7d68dfc commit c5c6c11
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.18
go-version: 1.23

- name: Build
run: go build -v ./...
Expand All @@ -28,7 +28,6 @@ jobs:
run: go test -v ./...

- name: Lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v6
with:
version: v1.45.2
only-new-issues: true
version: v1.61
7 changes: 4 additions & 3 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ linters:
- stylecheck
- gosec
- dupl
- maligned
- depguard
- lll
- prealloc
- scopelint
- gocritic
- gochecknoinits
- gochecknoglobals
- typecheck # Go 1.13 incompatible pending new golangci-lint binary release
# These are deprecated
- execinquery
- exportloopref
- gomnd
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/letsencrypt/gorepotemplate

go 1.18
go 1.23

0 comments on commit c5c6c11

Please sign in to comment.