kernel/.forgejo/workflows/format.yml

20 lines
486 B
YAML
Raw Normal View History

name: Format code
on: [push]
jobs:
format-kernel:
name: Format the kernel
2025-02-22 20:17:24 -06:00
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