Skip to content

fix: Use git protocol for retrace spec check #407

fix: Use git protocol for retrace spec check

fix: Use git protocol for retrace spec check #407

Workflow file for this run

name: CI
on:
push:
branches:
- master
- "release/**"
pull_request:
env:
RUSTFLAGS: -Dwarnings
jobs:
lints:
name: Style/Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- run: rustup toolchain install stable --profile minimal --component rustfmt --component clippy --no-self-update
- uses: Swatinem/rust-cache@42dc69e1aa15d09112580998cf2ef0119e2e91ae # v2
- run: cargo fmt --all -- --check
- run: cargo clippy --all-features --workspace --tests --examples -- -D clippy::all
- run: cargo doc --workspace --all-features --document-private-items --no-deps
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
name: Tests on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- run: rustup toolchain install stable --profile minimal --no-self-update
- uses: Swatinem/rust-cache@42dc69e1aa15d09112580998cf2ef0119e2e91ae # v2
- run: cargo test --workspace --all-features --all-targets
- run: cargo test --workspace --all-features --doc
codecov:
name: Code Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- run: rustup toolchain install stable --profile minimal --component llvm-tools-preview --no-self-update
- uses: Swatinem/rust-cache@42dc69e1aa15d09112580998cf2ef0119e2e91ae # v2
- uses: taiki-e/install-action@21eb0b6228fa6252dafdd9c82e7516ad2328c775 # cargo-llvm-cov
- run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
- uses: codecov/codecov-action@ab904c41d6ece82784817410c45d8b8c02684457 # v3
with:
files: lcov.info