Skip to content

chore(deps): bump actions/add-to-project from 1.0.0 to 1.0.1 #675

chore(deps): bump actions/add-to-project from 1.0.0 to 1.0.1

chore(deps): bump actions/add-to-project from 1.0.0 to 1.0.1 #675

Workflow file for this run

---
name: ci
"on":
push:
branches:
- 'main'
pull_request:
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"
jobs:
# TODO: Fix automatically
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- uses: r7kamura/rust-problem-matchers@v1
- run: cargo fmt --all -- --check
- uses: xt0rted/markdownlint-problem-matcher@v2
- uses: DavidAnson/markdownlint-cli2-action@v15
with:
globs: "**/*.md"
# FIXME: Add yamllint problem matcher
- run: yamllint -s .
deny:
runs-on: ubuntu-22.04
needs:
- lint
strategy:
matrix:
checks:
- advisories
- bans licenses sources
fail-fast: false
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
- uses: EmbarkStudios/cargo-deny-action@v1
with:
command: check ${{ matrix.checks }}
sort:
runs-on: ubuntu-22.04
needs:
- lint
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@v2
with:
tool: cargo-sort
- run: cargo sort --workspace --grouped --check >/dev/null
# TODO: Fix automatically
clippy:
runs-on: ubuntu-22.04
needs:
- lint
strategy:
matrix:
rust:
- stable
- beta
fail-fast: false
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
components: clippy
- uses: r7kamura/rust-problem-matchers@v1
- run: |
cargo +${{ matrix.rust }} clippy --all --all-features -- -D warnings
# TODO: Fix automatically, or post GH-suggestions comments
build:
runs-on: ubuntu-22.04
needs:
- lint
strategy:
matrix:
rust:
- stable
- beta
- nightly-2023-10-01
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- uses: r7kamura/rust-problem-matchers@v1
- run: cargo +${{ matrix.rust }} build --release --all-features --locked
test:
runs-on: ubuntu-22.04
needs:
- lint
strategy:
matrix:
rust:
- stable
- beta
- nightly-2023-10-01
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- uses: r7kamura/rust-problem-matchers@v1
- run: cargo +${{ matrix.rust }} test --release --all-features --locked
doc:
runs-on: ubuntu-22.04
needs:
- lint
strategy:
matrix:
rust:
- stable
- beta
# Prevent beta docs warnings from causing CI failure
continue-on-error: ${{ matrix.rust == 'beta' }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- uses: r7kamura/rust-problem-matchers@v1
- run: cargo +${{ matrix.rust }} doc --release --no-deps --all-features
coverage:
runs-on: ubuntu-22.04
needs:
- lint
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview
- uses: taiki-e/install-action@v2
with:
tool: cargo-llvm-cov
- run: |
cargo llvm-cov --locked --all-features --workspace --lcov \
--output-path lcov.info
- uses: codecov/codecov-action@v4
with:
files: lcov.info