Skip to content

Workflow file for this run

name: check formatting
on: [push]
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: cache dprint
uses: actions/cache@v4
with:
path: |
$HOME/.dprint
#$HOME/.cache/dprint
key: dprint
- name: install dprint
run: |
if [ ! -f $HOME/.dprint ]; then
curl -fsSL https://dprint.dev/install.sh | sh
echo $HOME/.dprint/bin >> $GITHUB_PATH
fi
- run: ./misc/fmt.sh --check