Skip to content

Commit

Permalink
Update CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
SladeThe committed Feb 14, 2024
1 parent 993432a commit 8b287a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.21
uses: actions/setup-go@v4
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22'
id: go

- name: Print version
run: go version

- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download dependencies
run: go mod tidy && go mod download
Expand All @@ -29,7 +29,7 @@ jobs:
run: make test

- name: Lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v4
with:
version: v1.55.2
version: v1.56.1
args: --timeout 5m --verbose
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
lint:
go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.2 run --timeout 5m --verbose -c .golangci.yaml
go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.56.1 run --timeout 5m --verbose -c .golangci.yaml

test:
go test -v -coverpkg ./... -covermode=atomic -coverprofile cover.out -timeout 5m ./...
Expand Down

0 comments on commit 8b287a9

Please sign in to comment.