🧹 simplify LoCTracker interface #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update | |
on: | |
push: | |
paths: [ 'src/**', 'data/**', '.github/workflows/results.yml' ] | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
permissions: | |
contents: write | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Update results | |
run: make test-results | |
- name: Run rustfmt | |
run: cargo fmt | |
- name: Commit results | |
run: | | |
git config --global user.name 'Caleb Stanford' | |
git config --global user.email '[email protected]' | |
git add . | |
git diff-index --quiet HEAD || git commit -am ":robot: autoupdate from CI" | |
git push |