Skip to content

Commit 5ca6613

Browse files
committed
chore(deps): Bumping go to 1.18
Signed-off-by: Vincent Boutour <[email protected]>
1 parent 6a32f34 commit 5ca6613

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/workflows/build.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Setup Golang
2727
uses: actions/setup-go@v2
2828
with:
29-
go-version: "^1.17"
29+
go-version: "^1.18"
3030
- name: golangci-lint
3131
uses: golangci/golangci-lint-action@v2
3232
- name: Build
@@ -60,7 +60,7 @@ jobs:
6060
- name: Setup Golang
6161
uses: actions/setup-go@v2
6262
with:
63-
go-version: "^1.17"
63+
go-version: "^1.18"
6464
- name: Build
6565
run: |
6666
curl --disable --silent --show-error --location --max-time 30 "https://raw.githubusercontent.com/ViBiOh/scripts/main/bootstrap" | bash -s -- "-c" "release"

.github/workflows/codeql-analysis.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Setup Golang
3131
uses: actions/setup-go@v2
3232
with:
33-
go-version: "^1.17"
33+
go-version: "^1.18"
3434
- name: Build
3535
run: make build
3636
- name: CodeQL

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup Golang
2424
uses: actions/setup-go@v2
2525
with:
26-
go-version: "^1.17"
26+
go-version: "^1.18"
2727
- name: Build
2828
run: make init
2929
- name: Assets

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ init:
4747
go install "golang.org/x/lint/golint@latest"
4848
go install "golang.org/x/tools/cmd/goimports@latest"
4949
go install "mvdan.cc/gofumpt@latest"
50-
go mod tidy -compat=1.17
50+
go mod tidy
5151

5252
## format: Format code. e.g Prettier (js), format (golang)
5353
.PHONY: format

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/ViBiOh/goweb
22

3-
go 1.17
3+
go 1.18
44

55
require (
66
github.com/ViBiOh/flags v0.0.1

pkg/dump/dump.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func dumpRequest(r *http.Request) (string, error) {
5656

5757
var outputPattern bytes.Buffer
5858
outputPattern.WriteString("RemoteAddr=`%s`\nHost=`%s`\n%s %s")
59-
outputData := []interface{}{
59+
outputData := []any{
6060
r.RemoteAddr,
6161
r.Host,
6262
r.Method,

0 commit comments

Comments
 (0)