Skip to content

cargo: point repository metadata to clonable URLs #78

cargo: point repository metadata to clonable URLs

cargo: point repository metadata to clonable URLs #78

Workflow file for this run

name: Workspace
on:
pull_request:
paths-ignore:
- README.md
push:
branches: master
paths-ignore:
- README.md
jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.56.0 # MSRV
components: clippy
override: true
- run: cargo clippy --all -- -D warnings
rustfmt:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt
override: true
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check