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

docs: ✏️ Make it underscore #6

docs: ✏️ Make it underscore

docs: ✏️ Make it underscore #6

Workflow file for this run

name: "Test"
on: [push]
jobs:
rust-test:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Rust stable toolchain
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- name: Restore cache
uses: Swatinem/rust-cache@v2
- name: Check test
run: cargo +nightly test
rust-lint:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Rust stable toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Install cargo-sort
run: cargo install cargo-sort
- name: Setup nightly cargo fmt
run: rustup toolchain install nightly --component rustfmt
- name: Restore cache
uses: Swatinem/rust-cache@v2
- name: Check format
run: cargo +nightly fmt --all -- --check
- name: Check clippy
run: cargo clippy -- -D warnings
- name: Check sort
run: cargo sort -w -c