Skip to content

fix(deps): update rust crate thiserror to v2 #59

fix(deps): update rust crate thiserror to v2

fix(deps): update rust crate thiserror to v2 #59

Workflow file for this run

name: Lint
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: cache cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
- name: install rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- name: build
uses: actions-rs/cargo@v1
with:
command: build
- name: clippy
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check