Skip to content

ci(workflows): update Go version configuration to use oldstable #90

ci(workflows): update Go version configuration to use oldstable

ci(workflows): update Go version configuration to use oldstable #90

Workflow file for this run

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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Go
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
with:
go-version-file: go.mod
- name: Set up deps
run: make depsdev
- name: Check out source code (main)
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: main
path: main
- name: Run benchmark (main)
run: make benchmark
working-directory: main
- name: Run octocov (main)
uses: k1LoW/octocov-action@73d561f65d59e66899ed5c87e4621a913b5d5c20 # v1.5.0
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@73d561f65d59e66899ed5c87e4621a913b5d5c20 # v1.5.0
with:
config: .octocov.benchmark.yml
env:
OCTOCOV_CUSTOM_METRICS_BENCHMARK: custom_metrics_benchmark.json