Skip to content

Merge pull request #131 from Alzymologist/dependabot/github_actions/S… #15

Merge pull request #131 from Alzymologist/dependabot/github_actions/S…

Merge pull request #131 from Alzymologist/dependabot/github_actions/S… #15

Workflow file for this run

name: Rustfmt
on:
pull_request:
push:
branches:
- main
- stable
jobs:
rustfmt:
name: Cargo fmt
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout sources
uses: actions/[email protected]
with:
fetch-depth: 50
submodules: 'recursive'
- name: Install Rust stable toolchain
uses: actions-rs/[email protected]
with:
profile: minimal
toolchain: stable
override: true
- name: cargo fmt
run: cargo fmt --all -- --check