Skip to content

Extend CI triggers to include pull requests #56

Extend CI triggers to include pull requests

Extend CI triggers to include pull requests #56

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
smoketest:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: smoketest
run: |
docker pull tinygo/tinygo-dev
docker run --rm -v $GITHUB_WORKSPACE:/workspace -w /workspace tinygo/tinygo-dev tinygo version
docker run --rm -v $GITHUB_WORKSPACE:/workspace -w /workspace tinygo/tinygo-dev /bin/sh -c "git config --global --add safe.directory /workspace && make test-gen-def && make smoketest"
- name: Upload uf2 files
uses: actions/upload-artifact@v3
with:
name: uf2-files
path: ./out/*.uf2