Skip to content

Commit f801ddd

Browse files
authored
Upgrade to Go 1.23
1 parent d438399 commit f801ddd

File tree

6 files changed

+8
-9
lines changed

6 files changed

+8
-9
lines changed

.github/workflows/ci-cpp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: |
2727
mkdir -p ./lib/json
2828
cd lib
29-
git clone --depth 1 --branch v1.15.0 https://github.com/google/googletest.git
29+
git clone --depth 1 --branch v1.15.2 https://github.com/google/googletest.git
3030
curl -sSL "https://github.com/nlohmann/json/releases/download/v3.11.3/json.hpp" --output json/json.hpp
3131
3232
- name: Build project

.github/workflows/ci-go.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
go-version:
16-
- 1.21.x
17-
- 1.22.x
16+
- 1.23.x
1817
os:
1918
- ubuntu-latest
2019
- windows-latest

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
- name: Set up Go
7777
uses: actions/setup-go@v5
7878
with:
79-
go-version: 1.21
79+
go-version: 1.23
8080

8181
- name: Restore Go modules cache
8282
uses: actions/cache@v4
@@ -116,7 +116,7 @@ jobs:
116116
- name: Run GoReleaser
117117
uses: goreleaser/goreleaser-action@v6
118118
with:
119-
version: v1.20.0
119+
version: v2.5.0
120120
args: release --rm-dist
121121
env:
122122
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ cd cli
44

55
go env -w GOOS=windows
66
go env -w GOARCH=amd64
7-
go build -o ../bin/ccom.exe .
7+
go build -o ../bin/ccom.exe ccom.go
88

99
cd ../bin
1010
cmake -DCMAKE_BUILD_TYPE=Release -G "CodeBlocks - MinGW Makefiles" ../compiler/cpp

build.sh

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
mkdir -p bin
33
cd ./cli
44

5-
env GOOS=linux GOARCH=arm GOARM=7 go build -x -o ../bin/ccom-armv7 main.go
6-
env GOOS=linux GOARCH=amd64 go build -x -o ../bin/ccom-amd64 main.go
5+
env GOOS=linux GOARCH=arm GOARM=7 go build -x -o ../bin/ccom-armv7 ccom.go
6+
env GOOS=linux GOARCH=amd64 go build -x -o ../bin/ccom-amd64 ccom.go
77

88
cd ../bin
99
cmake -DCMAKE_BUILD_TYPE=Release ../compiler/cpp

cli/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module ccom
22

3-
go 1.21
3+
go 1.23
44

55
require (
66
github.com/AlecAivazis/survey/v2 v2.3.7

0 commit comments

Comments
 (0)