kernel/.forgejo/workflows/format.yml
Arthur Beck d5a47b8814
Some checks failed
Format code / Format the kernel (push) Failing after 27s
okay so it ignored the extra components
2025-02-23 08:33:53 -06:00

21 lines
No EOL
526 B
YAML

name: Format code
on: [push]
jobs:
format-kernel:
name: Format the kernel
runs-on: docker
steps:
- uses: actions/checkout@v4
- uses: msrd0/rust-toolchain@nightly
- run: rustup component add rustfmt
- 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