kernel/.forgejo/workflows/format.yml
Arthur Beck 8066158f35
Some checks failed
Format code / Format the kernel (push) Failing after 49s
whoops no ubuntu runners right now
2025-02-22 20:17:24 -06:00

20 lines
No EOL
486 B
YAML

name: Format code
on: [push]
jobs:
format-kernel:
name: Format the kernel
runs-on: docker
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- run: |
cd kernel
./format
- name: Commit format
run: |
git config --global user.name 'Formatter'
git config --global user.email 'formatter@noreply.git.verygay.fyi'
git commit -am "Automated format"
git push