Skip to content

adding draft-pdf

adding draft-pdf #11

Workflow file for this run

name: lints
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
format:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
toolchain: [stable, beta, nightly]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.toolchain }}
components: rustfmt
- name: Run fmt
run: cargo fmt --all
clippy:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
toolchain: [stable, beta, nightly]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.toolchain }}
components: clippy
- name: Run clippy
run: cargo clippy --all-targets -- -D warnings