mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-21 06:59:00 +00:00
build: use the latest TinyGo release container instead of the dev container for builds.
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
@@ -11,13 +11,12 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: ghcr.io/tinygo-org/tinygo-dev:latest
|
container:
|
||||||
|
image: ghcr.io/tinygo-org/tinygo:latest
|
||||||
|
options: --user root
|
||||||
steps:
|
steps:
|
||||||
- name: Work around CVE-2022-24765
|
|
||||||
# We're not on a multi-user machine, so this is safe.
|
|
||||||
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v6
|
||||||
- name: TinyGo version check
|
- name: TinyGo version check
|
||||||
run: tinygo version
|
run: tinygo version
|
||||||
- name: Enforce Go Formatted Code
|
- name: Enforce Go Formatted Code
|
||||||
@@ -25,4 +24,6 @@ jobs:
|
|||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run: make unit-test
|
run: make unit-test
|
||||||
- name: Run build and smoke tests
|
- name: Run build and smoke tests
|
||||||
run: make smoke-test
|
run: |
|
||||||
|
go env -w GOFLAGS=-buildvcs=false
|
||||||
|
make smoke-test
|
||||||
|
|||||||
Reference in New Issue
Block a user