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 20:03:07 +03:00

24 lines
513 B
YAML

name: Rustfmt
on:
push:
branches:
- "**"
pull_request:
branches:
- "rolling"
jobs:
formatting:
name: cargo fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Ensure rustfmt is installed and setup problem matcher
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
- name: Rustfmt Check
uses: Syndelis/rustfmt-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}