Skip to content

fix(ci): split release-plz into release-pr and publish workflows #55

fix(ci): split release-plz into release-pr and publish workflows

fix(ci): split release-plz into release-pr and publish workflows #55

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- uses: Swatinem/rust-cache@v2
- name: Format check
run: cargo +nightly fmt --all --check
- name: Clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Test
run: cargo test
- name: Doc check
run: cargo doc --no-deps --document-private-items
env:
RUSTDOCFLAGS: "-D warnings"