Skip to content

fix: generation of plantuml's diagrams in book #123

fix: generation of plantuml's diagrams in book

fix: generation of plantuml's diagrams in book #123

Workflow file for this run

name: CI
on:
push:
branches: ["*"]
pull_request:
branches: ["main"]
merge_group:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- "1.74"
- stable
- beta
- nightly
cargo-update:
- true
include:
- rust: stable
cargo-update: false
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- name: Update
if: matrix.cargo-update
run: cargo update
- name: Run tests
run: cargo test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rustfmt clippy
- name: Run rustfmt check
run: cargo fmt --all -- --check
- name: Run clippy
run: cargo clippy --all --all-targets -- -D warnings