Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

Update actions/checkout action to #310

Update actions/checkout action to

Update actions/checkout action to #310

Workflow file for this run

on: [push]
name: Evaluate codebase
jobs:
code_check:
name: Evaluate codebase
runs-on: ubuntu-latest
steps:
- name: Checkout codebase
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy, rustfmt
profile: minimal
- name: Check codebase is properly formatted
uses: actions-rs/cargo@v1
with:
command: fmt
args: --manifest-path grabber/Cargo.toml -- --check
- name: Check codebase using linter
uses: actions-rs/cargo@v1
with:
command: clippy
args: --manifest-path grabber/Cargo.toml --all-targets --all-features -- -D warnings