Skip to content

chore(deps): bump serde_yaml from 0.9.25 to 0.9.27 #492

chore(deps): bump serde_yaml from 0.9.25 to 0.9.27

chore(deps): bump serde_yaml from 0.9.25 to 0.9.27 #492

Workflow file for this run

on:
push:
branches: [main]
pull_request: {}
workflow_dispatch: {}
merge_group:
branches:
- main
name: status-checks
jobs:
lint_and_format:
name: Lint and Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
# Ensure build.rs has ran before we assert formatting...
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --all-features
- name: Check formatting
uses: actions-rs/cargo@v1
with:
command: fmt
args: --manifest-path ./Cargo.toml --all -- --check
- name: Run clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --manifest-path ./Cargo.toml -- -Adead-code -D warnings
security_audit:
name: Security Audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: rustsec/audit-check@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
testing:
name: Run Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Install Rust
run: rustup update stable
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Tests with Coverage
run: cargo llvm-cov --all-features --ignore-filename-regex '^(tests/.*\.rs|.*/tests\.rs)$' --no-fail-fast --lcov --output-path target/lcov.info
- name: Coverage Report
run: |
cargo llvm-cov report --hide-instantiations --ignore-filename-regex '^(tests/.*\.rs|.*/tests\.rs)$' --codecov --output-path target/codecov.json
cargo llvm-cov report --hide-instantiations --ignore-filename-regex '^(tests/.*\.rs|.*/tests\.rs)$' --html --output-dir target/coverage
cargo llvm-cov report --hide-instantiations --ignore-filename-regex '^(tests/.*\.rs|.*/tests\.rs)$'
- name: Submit Coverage to CodeCov
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
files: target/codecov.json
name: codecov.json