Skip to content

fix: pin rustc 1.58.2 (#321) #688

fix: pin rustc 1.58.2 (#321)

fix: pin rustc 1.58.2 (#321) #688

Workflow file for this run

name: Formatting
on:
- pull_request
jobs:
format:
strategy:
matrix:
os:
# - ubuntu-18.04
- macos-10.15
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: recursive
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.CICD_RSA_KEY }}
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.77.2
override: true
components: rustfmt, clippy
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check