Skip to content

Commit 9244aa7

Browse files
committed
chore: update workflows with full go sdk version 1.24
1 parent 6409259 commit 9244aa7

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

.github/workflows/workflow.yaml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,15 @@ on:
77
branches:
88
- main
99

10-
env:
11-
TINYGO_VERSION: 0.32.0
12-
1310
jobs:
1411
style:
1512
name: Code style check
1613
runs-on: ubuntu-latest
1714
steps:
1815
- name: install Go
19-
uses: actions/setup-go@v3
16+
uses: actions/setup-go@v5
2017
with:
21-
go-version: '1.22'
18+
go-version: 'go1.24rc1'
2219

2320
- name: checkout
2421
uses: actions/checkout@v3
@@ -34,9 +31,9 @@ jobs:
3431
runs-on: ubuntu-latest
3532
steps:
3633
- name: install Go
37-
uses: actions/setup-go@v3
34+
uses: actions/setup-go@v5
3835
with:
39-
go-version: '1.22'
36+
go-version: 'go1.24rc1'
4037

4138
- name: checkout
4239
uses: actions/checkout@v3
@@ -82,17 +79,9 @@ jobs:
8279
key: examples-${{ hashFiles('**/go.mod', '**/go.sum') }}-v${{ env.TINYGO_VERSION }}
8380

8481
- name: Install Go
85-
uses: actions/setup-go@v3
82+
uses: actions/setup-go@v5
8683
with:
87-
go-version: '1.22'
88-
89-
- name: Install TinyGo
90-
run: |
91-
gh release download v${TINYGO_VERSION} -p '*.linux-amd64.tar.gz' -D ~ -R github.com/tinygo-org/tinygo
92-
tar -xf ~/tinygo${TINYGO_VERSION}.linux-amd64.tar.gz -C $HOME
93-
echo "$HOME/tinygo/bin" >> $GITHUB_PATH
94-
env:
95-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
84+
go-version: 'go1.24rc1'
9685

9786
- name: Build examples
9887
run: make build.examples

0 commit comments

Comments
 (0)