0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-10-18 06:22:53 -04:00
websurfx/.github/workflows/rustfmt.yml
2023-05-13 19:45:59 +03:00

28 lines
644 B
YAML

name: Rustfmt
on:
push:
branches:
- "**"
pull_request:
branches:
- "rolling"
jobs:
format:
name: rustfmt
runs-on: ubuntu-latest
steps:
- 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