name: Automation - Performance on: push: branches: [main] permissions: read-all jobs: runperf: runs-on: ubuntu-latest steps: - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 - name: Setup Go uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0 with: go-version: oldstable cache: false - name: Cache Go id: go-cache uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: path: | ~/go/bin ~/go/pkg/mod key: go-cache-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('**/go.sum') }} - name: Run benchmark run: make gobenchmark # Disabling until fine-grained permissions token enabled for the # repository #- name: Store benchmark result # uses: benchmark-action/github-action-benchmark@v1 # with: # tool: 'go' # output-file-path: benchmarks.txt # gh-pages-branch: gh-pages # auto-push: true # github-token: ${{ secrets.GITHUB_TOKEN }} # benchmark-data-dir-path: "docs/dev/bench"