Skip to content

Commit dca9d46

Browse files
committed
chore: upgrade go version
1 parent 5ed22ff commit dca9d46

File tree

11 files changed

+46
-46
lines changed

11 files changed

+46
-46
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
run: |
7676
export PATH=$(pwd)/core/ten_gn:$PATH
7777
go env -w GOFLAGS="-buildvcs=false"
78-
go1.20.12 download
78+
go1.22.2 download
7979
rustup default nightly
8080
8181
tgn gen linux x64 debug -- enable_serialized_actions=true ten_enable_serialized_rust_action=true ten_rust_enable_gen_cargo_config=false ten_enable_ten_rust=false ten_enable_ten_rust_apis=false ten_enable_rust_incremental_build=false ten_manager_enable_frontend=false ten_enable_integration_tests_prebuilt=false ten_enable_nodejs_binding=false ten_enable_python_binding=false ten_enable_go_binding=false

.github/workflows/linux_arm64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
export PATH=$(pwd)/core/ten_gn:/usr/local/go/bin:/root/go/bin:/root/.cargo/bin:$PATH && \
9898
echo $PATH && \
9999
go env -w GOFLAGS="-buildvcs=false" && \
100-
go1.20.12 download && \
100+
go1.22.2 download && \
101101
apt-get install -y curl && \
102102
curl -fsSL https://deb.nodesource.com/setup_23.x -o nodesource_setup.sh && \
103103
bash nodesource_setup.sh && \

.github/workflows/linux_ubuntu2204.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
8585
if [ "${{ matrix.arch }}" = "x64" ]; then
8686
go env -w GOFLAGS="-buildvcs=false"
87-
go1.20.12 download
87+
go1.22.2 download
8888
rustup default nightly
8989
fi
9090

.github/workflows/mac_arm64.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
7272
brew install tree
7373
pip3 install --use-pep517 python-dotenv jinja2
74-
go install golang.org/dl/go1.20.12@latest && go1.20.12 download
74+
go install golang.org/dl/go1.22.2@latest && go1.22.2 download
7575
go env -w GOFLAGS="-buildvcs=false"
7676
cargo install --force cbindgen
7777
@@ -201,7 +201,7 @@ jobs:
201201
202202
brew install tree
203203
pip3 install --use-pep517 python-dotenv jinja2
204-
go install golang.org/dl/go1.20.12@latest && go1.20.12 download
204+
go install golang.org/dl/go1.22.2@latest && go1.22.2 download
205205
go env -w GOFLAGS="-buildvcs=false"
206206
cargo install --force cbindgen
207207
@@ -354,7 +354,7 @@ jobs:
354354
355355
brew install tree
356356
pip3 install --use-pep517 python-dotenv jinja2
357-
go install golang.org/dl/go1.20.12@latest && go1.20.12 download
357+
go install golang.org/dl/go1.22.2@latest && go1.22.2 download
358358
go env -w GOFLAGS="-buildvcs=false"
359359
cargo install --force cbindgen
360360

.github/workflows/mac_x64.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
7575
pip3 install --use-pep517 python-dotenv jinja2
7676
77-
go install golang.org/dl/go1.20.12@latest && go1.20.12 download
77+
go install golang.org/dl/go1.22.2@latest && go1.22.2 download
7878
go env -w GOFLAGS="-buildvcs=false"
7979
8080
cargo install --force cbindgen
@@ -199,7 +199,7 @@ jobs:
199199
200200
brew install tree
201201
pip3 install --use-pep517 python-dotenv jinja2
202-
go install golang.org/dl/go1.20.12@latest && go1.20.12 download
202+
go install golang.org/dl/go1.22.2@latest && go1.22.2 download
203203
go env -w GOFLAGS="-buildvcs=false"
204204
cargo install --force cbindgen
205205
@@ -344,7 +344,7 @@ jobs:
344344
345345
brew install tree
346346
pip3 install --use-pep517 python-dotenv jinja2
347-
go install golang.org/dl/go1.20.12@latest && go1.20.12 download
347+
go install golang.org/dl/go1.22.2@latest && go1.22.2 download
348348
go env -w GOFLAGS="-buildvcs=false"
349349
350350
- name: Download build artifacts (tar archive)

.github/workflows/tman_full_mac_arm64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
7878
brew install tree
7979
pip3 install --use-pep517 python-dotenv jinja2
80-
go install golang.org/dl/go1.20.12@latest && go1.20.12 download
80+
go install golang.org/dl/go1.22.2@latest && go1.22.2 download
8181
go env -w GOFLAGS="-buildvcs=false"
8282
cargo install --force cbindgen
8383

.github/workflows/tman_full_mac_x64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
8282
pip3 install --use-pep517 python-dotenv jinja2
8383
84-
go install golang.org/dl/go1.20.12@latest && go1.20.12 download
84+
go install golang.org/dl/go1.22.2@latest && go1.22.2 download
8585
go env -w GOFLAGS="-buildvcs=false"
8686
8787
cargo install --force cbindgen

.github/workflows/tman_full_win_x64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
- name: Install tools and dependencies
7171
run: |
7272
pip3 install --use-pep517 python-dotenv jinja2
73-
go install golang.org/dl/go1.20.12@latest && go1.20.12 download
73+
go install golang.org/dl/go1.22.2@latest && go1.22.2 download
7474
go env -w GOFLAGS="-buildvcs=false"
7575
rustup default nightly
7676
cargo install --force cbindgen

.github/workflows/win.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
- name: Install tools and dependencies
7373
run: |
7474
pip3 install --use-pep517 python-dotenv jinja2
75-
go install golang.org/dl/go1.20.12@latest && go1.20.12 download
75+
go install golang.org/dl/go1.22.2@latest && go1.22.2 download
7676
go env -w GOFLAGS="-buildvcs=false"
7777
rustup default nightly
7878
cargo install --force cbindgen
@@ -198,7 +198,7 @@ jobs:
198198
- name: Install tools and dependencies
199199
run: |
200200
pip3 install --use-pep517 python-dotenv jinja2
201-
go install golang.org/dl/go1.20.12@latest && go1.20.12 download
201+
go install golang.org/dl/go1.22.2@latest && go1.22.2 download
202202
go env -w GOFLAGS="-buildvcs=false"
203203
rustup default nightly
204204
cargo install --force cbindgen
@@ -319,7 +319,7 @@ jobs:
319319
- name: Install tools and dependencies
320320
run: |
321321
pip3 install --use-pep517 python-dotenv jinja2
322-
go install golang.org/dl/go1.20.12@latest && go1.20.12 download
322+
go install golang.org/dl/go1.22.2@latest && go1.22.2 download
323323
go env -w GOFLAGS="-buildvcs=false"
324324
rustup default nightly
325325
cargo install --force cbindgen

core/src/ten_runtime/binding/go/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if (ten_enable_go_lint) {
1515
ten_go_lint("ten_go_binding_lint") {
1616
# The module path must contain .go files.
1717
lint_dir = "//core/src/ten_runtime/binding/go/interface/ten_runtime"
18-
go_exec = "go1.20.12"
18+
go_exec = "go1.22.2"
1919
}
2020
}
2121

0 commit comments

Comments
 (0)