Skip to content

Commit b90fc95

Browse files
committed
build: update to Go 1.22 with CGO disabled to retain compatibility with older systems
1 parent 536d1d0 commit b90fc95

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/release-tag.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
- name: Set up Go
1919
uses: actions/setup-go@v5
2020
with:
21-
go-version: '1.20'
21+
go-version: '1.22'
2222

2323
- name: Build
24-
run: go build -v
24+
run: make build
2525

2626
- name: Test
2727
run: go test -v ./...

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
- name: Set up Go
1515
uses: actions/setup-go@v5
1616
with:
17-
go-version: '1.20'
17+
go-version: '1.22'
1818

1919
- name: Build
20-
run: go build -v
20+
run: make build
2121

2222
- name: Test
2323
run: go test -v ./...

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sshified: build
22

33
build:
4-
go build
4+
CGO_ENABLED=0 go build
55

66
check:
77
errcheck

0 commit comments

Comments
 (0)