Skip to content

Commit d987df9

Browse files
committed
build: use TinyGo latest release for CI builds.
Signed-off-by: deadprogram <[email protected]>
1 parent 2dcc0c9 commit d987df9

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 12 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"
19-
- name: Checkout
20-
uses: actions/checkout@v3
21-
- name: TinyGo version check
22-
run: tinygo version
23-
- name: Enforce Go Formatted Code
24-
run: make fmt-check
25-
- name: Run build and smoke tests
26-
run: make smoke-test
18+
- name: Checkout
19+
uses: actions/checkout@v6
20+
- name: TinyGo version check
21+
run: tinygo version
22+
- name: Enforce Go Formatted Code
23+
run: make fmt-check
24+
- name: Run build and smoke tests
25+
run: |
26+
go env -w GOFLAGS=-buildvcs=false
27+
make smoke-test

0 commit comments

Comments
 (0)