Skip to content

docs(readme): Fix broken links (#146) #50

docs(readme): Fix broken links (#146)

docs(readme): Fix broken links (#146) #50

Workflow file for this run

name: Rust Lint
on: [ "pull_request", "push" ]
jobs:
rustfmt:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
components: rustfmt
- name: Cache Rust
uses: Swatinem/rust-cache@v1
- name: Run rustfmt
run: |
git ls-files '*.rs' | xargs rustfmt --check
clippy:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
components: clippy
- name: Cache Rust
uses: Swatinem/rust-cache@v1
- uses: actions-rs/clippy-check@v1
with:
token: ${{ github.token }}
args: -- -D warnings