Skip to content

fuzz: Temporarily disable scheduled runs (#391) #1091

fuzz: Temporarily disable scheduled runs (#391)

fuzz: Temporarily disable scheduled runs (#391) #1091

Workflow file for this run

on:
push:
branches:
- main
pull_request:
workflow_dispatch:
name: Clippy
env:
CARGO_TERM_COLOR: "always"
RUSTFLAGS: "-D warnings"
jobs:
fmt:
name: cargo fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout compact_str
- name: Install toolchain
run: |
rustup toolchain install nightly --no-self-update --profile minimal --component rustfmt
rustup override set nightly
- name: Run rustfmt Workspace
run: cargo fmt --all -- --check
- name: Run rustfmt compact_str
run: cargo fmt --all --manifest-path compact_str/Cargo.toml -- --check
clippy:
name: cargo clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout compact_str
- name: Install toolchain
run: |
rustup toolchain install nightly --no-self-update --profile minimal --component clippy
rustup override set nightly
- uses: Swatinem/rust-cache@v2
- name: Run clippy Workspace
run: cargo clippy --no-deps --tests
- name: Run clippy compact_str
run: cargo clippy --no-deps --tests --manifest-path compact_str/Cargo.toml
doc:
name: cargo doc
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: "-D warnings --cfg docsrs"
steps:
- uses: actions/checkout@v4
name: Checkout compact_str
- name: Install toolchain
run: |
rustup toolchain install nightly --no-self-update --profile minimal
rustup override set nightly
- uses: Swatinem/rust-cache@v2
- name: Run rustdoc
run: cargo doc --all-features --no-deps --manifest-path compact_str/Cargo.toml