Skip to content

Commit 57ca4e0

Browse files
committed
build: add GH action workflow job for smoketest
Signed-off-by: deadprogram <[email protected]>
1 parent b0793fb commit 57ca4e0

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/build.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
container: ghcr.io/tinygo-org/tinygo-dev:latest
14+
steps:
15+
- name: Work around CVE-2022-24765
16+
# We're not on a multi-user machine, so this is safe.
17+
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
- name: TinyGo version check
21+
run: tinygo version
22+
- name: Run build and smoke tests
23+
run: make smoke-test

0 commit comments

Comments
 (0)