mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-07-26 10:38:41 +00:00
3edd8e413b
Signed-off-by: deadprogram <ron@hybridgroup.com>
26 lines
505 B
YAML
26 lines
505 B
YAML
name: Build
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- dev
|
|
- release
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container: tinygo/tinygo-dev
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- name: TinyGo version check
|
|
run: tinygo version
|
|
- name: Enforce Go Formatted Code
|
|
run: make fmt-check
|
|
- name: Run unit tests
|
|
run: make unit-test
|
|
- name: Run build and smoke tests
|
|
run: make smoke-test
|