Skip to content

Merge pull request #192 from virtee/dependabot/cargo/reqwest-0.12.4 #543

Merge pull request #192 from virtee/dependabot/cargo/reqwest-0.12.4

Merge pull request #192 from virtee/dependabot/cargo/reqwest-0.12.4 #543

Workflow file for this run

on: [push, pull_request]
name: lint
jobs:
fmt:
name: cargo fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
components: rustfmt
toolchain: 1.70.0
profile: minimal
override: true
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
clippy:
name: cargo clippy
runs-on: ubuntu-latest
steps:
- run: sudo apt-get install -y asciidoctor
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
components: clippy
toolchain: 1.70.0
profile: minimal
override: true
- uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings