summaryrefslogtreecommitdiff
path: root/.github/workflows/benchmark.yml
diff options
context:
space:
mode:
authorChristian Segundo2022-12-05 17:00:08 +0100
committerChristian Segundo2022-12-05 22:16:11 +0100
commit061a5bae272f45db6dcde99746922735f9769d25 (patch)
treee4dd9b6d903930c5c1b76286b4a08beea6f59162 /.github/workflows/benchmark.yml
parent8817203517907ef4248bde7474e6fb566515d6a7 (diff)
downloadadvent-of-zig-2022-061a5bae272f45db6dcde99746922735f9769d25.tar.gz
add day 5
Diffstat (limited to '.github/workflows/benchmark.yml')
-rw-r--r--.github/workflows/benchmark.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml
new file mode 100644
index 0000000..f8dbc2b
--- /dev/null
+++ b/.github/workflows/benchmark.yml
@@ -0,0 +1,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