Skip to content

Commit b1038d7

Browse files
authored
Merge pull request #75 from chipmk/chore/bump-client-go-1.26
chore: update client go version to 1.26
2 parents 9059027 + 6db23e6 commit b1038d7

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ updates:
2525
directory: /client
2626
schedule:
2727
interval: weekly
28+
groups:
29+
all:
30+
patterns:
31+
- "*"
32+
update-types:
33+
- minor
34+
- patch
2835
labels:
2936
- dependencies
3037

.github/workflows/ci.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,11 @@ jobs:
4040
run: go vet ./...
4141
working-directory: client
4242

43+
- name: Lint client
44+
uses: golangci/golangci-lint-action@v7
45+
with:
46+
version: v2.9.0
47+
working-directory: client
48+
4349
- name: Build Docker image
4450
run: docker build ./client

client/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/chipmk/docker-mac-net-connect/client
22

3-
go 1.17
3+
go 1.26
44

55
require (
66
github.com/coreos/go-iptables v0.6.0

client/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ func main() {
109109
os.Exit(ExitSetupFailed)
110110
}
111111

112-
defer c.Close()
112+
defer func() { _ = c.Close() }()
113113

114114
vmPrivateKey, err := wgtypes.ParseKey(vmPrivateKeyString)
115115
if err != nil {

0 commit comments

Comments
 (0)