github.com/higress-group/nottinygc@v0.0.0-20231101025119-e93c4c2f8520/.github/workflows/ci.yaml (about)

     1  name: CI
     2  on:
     3    push:
     4      branches:
     5        - main
     6      tags:
     7        - "*"
     8    pull_request:
     9    workflow_dispatch:
    10  
    11  jobs:
    12    build:
    13      runs-on: ${{ matrix.os }}
    14      strategy:
    15        fail-fast: false
    16        matrix:
    17          os:
    18            - macos-12
    19            - ubuntu-22.04
    20            - windows-2022
    21      steps:
    22        - uses: actions/checkout@v3
    23        - uses: actions/setup-go@v3
    24          with:
    25            go-version: '^1.20.0'
    26            cache: true
    27  
    28        - name: setup tinygo
    29          uses: acifani/setup-tinygo@v1
    30          with:
    31            tinygo-version: 0.29.0
    32        - name: setup wasmtime for tinygo
    33          run: go install github.com/wasilibs/tools/cmd/wasmtime@e3baa6a6b2955f731f4490728b09fb87b35e27e9
    34  
    35        - run: go run mage.go check