0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-10-18 14:32:52 -04:00
websurfx/.github/workflows/rustfmt.yml

28 lines
644 B
YAML
Raw Normal View History

name: Rustfmt
on:
push:
branches:
2023-05-13 12:36:11 -04:00
- "**"
pull_request:
branches:
- "rolling"
jobs:
format:
2023-05-13 12:45:59 -04:00
name: rustfmt
runs-on: ubuntu-latest
steps:
2023-05-13 12:45:59 -04:00
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: rustfmt
override: true
- uses: LoliGothick/rustfmt-check@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
flags: --all
options: --manifest-path=Cargo.toml
args: --config-path=rustfmt.toml
working-directory: my_crate