0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-22 14:08:23 -05:00
websurfx/.github/workflows/rustfmt.yml
2023-05-13 17:07:22 +00:00

22 lines
449 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: actions-rust-lang/rustfmt@v1