Skip to content

Commit 3dfdf1a

Browse files
committed
build: use TinyGo latest release for CI builds.
Signed-off-by: deadprogram <[email protected]>
1 parent 00be9f7 commit 3dfdf1a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,17 @@ 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@v3
19+
uses: actions/checkout@v6
2120
- name: TinyGo version check
2221
run: tinygo version
2322
- name: Enforce Go Formatted Code
2423
run: make fmt-check
2524
- name: Run build and smoke tests
26-
run: make smoke-test
25+
run: |
26+
go env -w GOFLAGS=-buildvcs=false
27+
make smoke-test

0 commit comments

Comments
 (0)