Fix lint warn #415
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: benchmark | |
on: | |
pull_request: | |
jobs: | |
benchmark: | |
name: Benchmark | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Check out source code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Set up deps | |
run: make depsdev | |
- name: Check out source code (main) | |
uses: actions/checkout@v4 | |
with: | |
ref: main | |
path: main | |
- name: Run benchmark (main) | |
continue-on-error: true | |
run: make benchmark | |
working-directory: main | |
- name: Run octocov (main) | |
continue-on-error: true | |
uses: k1LoW/octocov-action@v1 | |
with: | |
config: .octocov.benchmark.main.yml | |
env: | |
OCTOCOV_GITHUB_REF: refs/heads/main | |
OCTOCOV_GITHUB_SHA: none | |
OCTOCOV_CUSTOM_METRICS_BENCHMARK: main/custom_metrics_benchmark.json | |
- name: Run benchmark | |
run: make benchmark | |
- name: Run octocov | |
uses: k1LoW/octocov-action@v1 | |
with: | |
config: .octocov.benchmark.yml | |
env: | |
OCTOCOV_CUSTOM_METRICS_BENCHMARK: custom_metrics_benchmark.json |