From 57ca4e0dc7762d9cdeb2407466c1d92f20724824 Mon Sep 17 00:00:00 2001 From: deadprogram Date: Wed, 18 Dec 2024 13:12:33 +0100 Subject: [PATCH] build: add GH action workflow job for smoketest Signed-off-by: deadprogram --- .github/workflows/build.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..509d54b --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,23 @@ +name: Build + +on: + pull_request: + push: + branches: + - main + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + container: ghcr.io/tinygo-org/tinygo-dev:latest + 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 + uses: actions/checkout@v4 + - name: TinyGo version check + run: tinygo version + - name: Run build and smoke tests + run: make smoke-test