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

     1  name: Benchmark
     2  on:
     3    push:
     4      branches:
     5        - main
     6      paths-ignore:
     7        - '**/*.md'
     8        - '**/*.txt'
     9        - '**/*.yaml'
    10    workflow_dispatch:
    11  
    12  jobs:
    13    bench:
    14      runs-on: ubuntu-22.04
    15      steps:
    16        - uses: actions/checkout@v3
    17        - uses: actions/setup-go@v3
    18          with:
    19            go-version: '^1.20.0'
    20            cache: true
    21  
    22        - name: setup tinygo
    23          uses: acifani/setup-tinygo@v1
    24          with:
    25            tinygo-version: 0.29.0
    26  
    27        - run: go run mage.go bench