Skip to content

🧑‍💻 🔥 remove docs CI #2

🧑‍💻 🔥 remove docs CI

🧑‍💻 🔥 remove docs CI #2

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -Dwarnings
rust_min: 1.74.0 # because of bumpalo (requires 1.74.0)
# clap requires 1.74.0
rust_clippy: 1.77.0
rust_nightly: nightly-2024-05-05
defaults:
run:
shell: bash
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.rust_min }}
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --verbose
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust ${{ env.rust_stable }}
uses: dtolnay/rust-toolchain@stable
- name: Install cargo-nextest
uses: taiki-e/install-action@v2
with:
tool: cargo-nextest
- uses: Swatinem/rust-cache@v2
- name: test full
run: |
set -euxo pipefail
cargo nextest run
cargo test --doc