Skip to content

build(deps): bump taiki-e/install-action from 2.13.5 to 2.13.6 #85

build(deps): bump taiki-e/install-action from 2.13.5 to 2.13.6

build(deps): bump taiki-e/install-action from 2.13.5 to 2.13.6 #85

Workflow file for this run

name: CI
on:
push:
branches: [main]
merge_group:
types: [checks_requested]
pull_request:
branches: [main]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- '1.66' # MSRV
- stable
steps:
- uses: actions/checkout@v3
- name: Install Rust
uses: actions-rust-lang/[email protected]
with:
components: clippy
- name: Install cargo-hack
uses: taiki-e/[email protected]
with:
tool: cargo-hack
- name: Test
run: |
cargo test --package=confik-macros
cargo test --package=confik --no-default-features
cargo test --package=confik --no-default-features --all-features
clippy:
runs-on: ubuntu-latest
permissions:
contents: read
checks: write
steps:
- uses: actions/checkout@v3
- name: Install Rust
uses: actions-rust-lang/[email protected]
with:
components: clippy
- name: Install cargo-hack
uses: taiki-e/[email protected]
with:
tool: cargo-hack
- name: Clippy
run: |
cargo clippy --workspace --no-default-features
cargo clippy --workspace --no-default-features --all-features
cargo hack --feature-powerset --depth=3 clippy --workspace
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust (nightly)
uses: actions-rust-lang/[email protected]
with:
toolchain: nightly
components: rustfmt
- run: cargo fmt -- --check
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust
uses: actions-rust-lang/[email protected]
with:
components: rust-docs
- name: Check for broken intra-doc links
env:
RUSTDOCFLAGS: '-D warnings'
run: cargo doc --workspace --no-deps --all-features