summaryrefslogtreecommitdiff
path: root/.github/workflows/benchmark.yml
blob: f8dbc2be44cca8af1d4763eccd75024f9efc34e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
name: Run benchmarks

on:
  workflow_dispatch:

jobs:
  update:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
        with:
          ref: ${{ github.ref }}
          fetch-depth: 0
      - run: make docker-benchmark
      - run: |
          git config user.email 'actions@github.com'
          git config user.name 'github-actions'
          if git commit -am ':robot: Update README.md'; then
            git push origin HEAD:${{ github.ref }}
          fi