kernel/.forgejo/workflows/format.yml
Arthur Beck 569c75fd11
Some checks failed
Format code / Format the kernel (push) Failing after 1m54s
Added rustfmt component to format action
2025-02-23 08:31:22 -06:00

21 lines
No EOL
514 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
components: "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