Skip to content

Commit 3aff773

Browse files
authored
Merge pull request #6 from nginx-proxy/go-1.20
build: update Go to 1.20
2 parents 8a6c32f + 4f37f9f commit 3aff773

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup Go
1818
uses: actions/setup-go@v4
1919
with:
20-
go-version: 1.16
20+
go-version: "1.20"
2121

2222
- name: Run tests
2323
run: make test

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@ build: $(BIN)
1010
clean:
1111
rm -f $(BIN)
1212

13+
get-deps:
14+
go mod download
15+
1316
lint: $(SRC)
1417
go fmt
1518

16-
test: lint build
19+
test: lint get-deps build
1720
go test -v -race -cover ./...
1821

1922
$(BIN): $(SRC)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/nginx-proxy/forego
22

3-
go 1.16
3+
go 1.20
44

55
require (
66
github.com/daviddengcn/go-colortext v1.0.0

0 commit comments

Comments
 (0)