Skip to content

feat: replaced 7.2 with 7.2a (7.2 no longer available for download fr… #11

feat: replaced 7.2 with 7.2a (7.2 no longer available for download fr…

feat: replaced 7.2 with 7.2a (7.2 no longer available for download fr… #11

Workflow file for this run

name: format
on: [push, pull_request]
env:
RUSTUP_TOOLCHAIN: nightly
RUSTUP_HOME: /home/runner/.cargo
CARGO_TERM_COLOR: always
LLVM_VERSION: 14.0.0
jobs:
format:
name: format
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
all_but_latest: true
access_token: ${{ github.token }}
- name: Checkout repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.RUSTUP_TOOLCHAIN }}
profile: minimal
components: rustfmt
override: true
default: true
- name: Check formatting
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check