Skip to content
This repository was archived by the owner on Dec 22, 2025. It is now read-only.

Commit c6d0465

Browse files
authored
chore: remove docker + improve CI Go versions (#17)
* chore: remove docker + improve CI Go versions * fix: linting now requires Go >= 1.17
1 parent 19c82ae commit c6d0465

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/lint.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,10 @@ jobs:
1616
- name: Checkout
1717
uses: actions/checkout@v2
1818

19+
- name: Setup Go
20+
uses: actions/setup-go@v2
21+
with:
22+
go-version: "1.17"
23+
1924
- name: Lint
2025
run: make lint

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
matrix:
1717
os: [macos-10.15, ubuntu-20.04, windows-2019]
18-
go: [1.16]
18+
go: ["1.16", "1.17"]
1919

2020
steps:
2121
- name: Checkout

Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
golangci_lint_version=1.41.1
2-
3-
all: analysis test
1+
all: lint test bench
42

53
test:
64
go test -race -timeout 10s -coverprofile=coverage.txt -covermode=atomic ./...
@@ -19,4 +17,4 @@ bench/memory/%:
1917
go test -bench=. -benchmem -memprofile="profilling/${*}-memory.p" "./${*}"
2018

2119
lint:
22-
@docker run --rm -v `pwd`:/app -w /app golangci/golangci-lint:v$(golangci_lint_version) golangci-lint run ./...
20+
go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.43.0 run ./...

0 commit comments

Comments
 (0)