Skip to content

Merge pull request #15 from Alzymologist/release-0-1-1 #28

Merge pull request #15 from Alzymologist/release-0-1-1

Merge pull request #15 from Alzymologist/release-0-1-1 #28

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