Skip to content

docs: update LICENSE badge #115

docs: update LICENSE badge

docs: update LICENSE badge #115

Workflow file for this run

name: Validate
on:
push:
branches:
- develop
- "hotfix*"
pull_request:
branches:
- develop
- "hotfix*"
types:
- edited
- opened
- ready_for_review
- reopened
- synchronize
workflow_call:
workflow_dispatch:
jobs:
audit:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4.2.2
- name: Cache rust
uses: Swatinem/rust-cache@v2.7.5
- name: Install cargo-audit
run: cargo install cargo-audit --locked
- name: Check audit
run: cargo audit --deny warnings
docs-lint-deps:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4.2.2
- name: Cache rust
uses: Swatinem/rust-cache@v2.7.5
- name: Check docs
run: cargo doc
- name: Check linting
run: cargo clippy -- --deny warnings
- name: Install cargo utils
run: |
cargo install cargo-udeps --locked
rustup toolchain install nightly
- name: Check dependencies
run: cargo +nightly udeps --workspace --exclude "env-settings*"
format:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4.2.2
- name: Check formatting
run: cargo fmt --check
test:
if: github.event.pull_request.draft == false
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
timeout-minutes: 15
steps:
- uses: actions/checkout@v4.2.2
- name: Cache rust
uses: Swatinem/rust-cache@v2.7.5
- name: Run tests
run: cargo test -- --test-threads=1