tinygo.org/x/drivers@v0.27.1-0.20240509133757-7dbca2a54349/.github/workflows/build.yml (about)

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