Skip to content

Commit dc98e52

Browse files
committed
build: use TinyGo latest release for CI builds.
Signed-off-by: deadprogram <ron@hybridgroup.com>
1 parent dbd5524 commit dc98e52

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/linux.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@ on:
1111
jobs:
1212
build:
1313
runs-on: ubuntu-latest
14-
container: ghcr.io/tinygo-org/tinygo-dev
14+
container:
15+
image: ghcr.io/tinygo-org/tinygo:latest
16+
options: --user root
1517
steps:
16-
- name: Work around CVE-2022-24765
17-
# We're not on a multi-user machine, so this is safe.
18-
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
1918
- name: Checkout
20-
uses: actions/checkout@v5
19+
uses: actions/checkout@v6
2120
- name: TinyGo version check
2221
run: tinygo version
22+
- name: Add required GOFLAGS
23+
run: go env -w GOFLAGS=-buildvcs=false
2324
- name: Run unit tests
2425
run: go test
2526
- name: Run TinyGo smoke tests

.github/workflows/macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
go-version: '1.22'
2323
- name: Checkout
24-
uses: actions/checkout@v5
24+
uses: actions/checkout@v6
2525
- name: Run unit tests
2626
run: go test
2727
- name: "Run macOS smoke tests"
@@ -36,7 +36,7 @@ jobs:
3636
with:
3737
go-version: '1.25'
3838
- name: Checkout
39-
uses: actions/checkout@v5
39+
uses: actions/checkout@v6
4040
- name: Run unit tests
4141
run: go test
4242
- name: "Run macOS smoke tests"

.github/workflows/windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
go-version: '1.25'
1919
- name: Checkout
20-
uses: actions/checkout@v5
20+
uses: actions/checkout@v6
2121
- name: Run unit tests
2222
run: go test
2323
- name: "Run Windows smoke tests"

0 commit comments

Comments
 (0)