.github/workflows/benchmark.yaml
raw| 1 | name: benchmark |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: |
| 6 | - main |
| 7 | |
| 8 | permissions: |
| 9 | contents: read |
| 10 | |
| 11 | jobs: |
| 12 | test: |
| 13 | name: Benchmark |
| 14 | runs-on: ubuntu-latest |
| 15 | steps: |
| 16 | - uses: actions/checkout@v3 |
| 17 | - uses: actions/setup-go@v4 |
| 18 | with: |
| 19 | go-version-file: 'go.mod' |
| 20 | check-latest: true |
| 21 | cache-dependency-path: '**/go.sum' |
| 22 | - name: Benchmark |
| 23 | run: make bench |