Skip to content

Commit 9af8dae

Browse files
committed
ci: upgrade golangci-lint
Signed-off-by: Mark Sagi-Kazar <[email protected]>
1 parent 7b4f2b2 commit 9af8dae

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ jobs:
4848
- name: Set up Go
4949
uses: actions/setup-go@v3
5050
with:
51-
go-version: 1.17
51+
go-version: 1.19
5252

5353
- name: Checkout code
5454
uses: actions/checkout@v3
5555

5656
- name: Lint
5757
uses: golangci/golangci-lint-action@v3
5858
with:
59-
version: v1.45.2
59+
version: v1.49

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ endif
1616

1717
# Dependency versions
1818
GOTESTSUM_VERSION = 1.8.0
19-
GOLANGCI_VERSION = 1.45.2
19+
GOLANGCI_VERSION = 1.49.0
2020

2121
# Add the ability to override some variables
2222
# Use with care
@@ -48,7 +48,7 @@ bin/golangci-lint: bin/golangci-lint-${GOLANGCI_VERSION}
4848
@ln -sf golangci-lint-${GOLANGCI_VERSION} bin/golangci-lint
4949
bin/golangci-lint-${GOLANGCI_VERSION}:
5050
@mkdir -p bin
51-
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b ./bin/ v${GOLANGCI_VERSION}
51+
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | bash -s -- -b ./bin/ v${GOLANGCI_VERSION}
5252
@mv bin/golangci-lint "$@"
5353

5454
.PHONY: lint

0 commit comments

Comments
 (0)