Skip to content

Commit c6a4c62

Browse files
committed
build: use the latest TinyGo release container instead of the dev container for builds.
Signed-off-by: deadprogram <ron@hybridgroup.com>
1 parent f931ad4 commit c6a4c62

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,19 @@ on:
1111
jobs:
1212
build:
1313
runs-on: ubuntu-latest
14-
container: ghcr.io/tinygo-org/tinygo-dev:latest
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 unit tests
2625
run: make unit-test
2726
- name: Run build and smoke tests
28-
run: make smoke-test
27+
run: |
28+
go env -w GOFLAGS=-buildvcs=false
29+
make smoke-test

0 commit comments

Comments
 (0)