Skip to content

flake: pin Rust to MSRV (1.65.0) #556

flake: pin Rust to MSRV (1.65.0)

flake: pin Rust to MSRV (1.65.0) #556

Workflow file for this run

name: Code Style Check
on:
push:
branches:
- master
- v*
pull_request:
jobs:
code_style:
runs-on: ubuntu-latest
steps:
- name: Install Dependencies
run: sudo apt-get update; sudo apt-get install libarchive-dev protobuf-compiler
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --all --tests -- -D clippy::all