Skip to content

add odin benchmark step to workflow #74

add odin benchmark step to workflow

add odin benchmark step to workflow #74

Workflow file for this run

name: Generate Statistics Tables for Readme
on: push
jobs:
statistics:
name: Benchmark and Update Readme
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: laytan/setup-odin@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- run: cd 2021 && odin run . -- -benchmark
- run: cd 2022 && go build .
- run: cd 2022 && ./aoc2022 -benchmark
- run: cd 2023 && go build .
- run: cd 2023 && ./aoc2023 -benchmark
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Update readme statistics