Skip to content

feat: multirepo support #31

feat: multirepo support

feat: multirepo support #31

Workflow file for this run

name: Rust
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Build
run: cargo build --verbose --all-targets
- name: Run tests (Standard)
run: cargo test --verbose --all-targets
- name: Run tests (Encoding Only)
run: cargo test --verbose --all-targets --no-default-features --features=encoding
- name: Run tests (HTTPs)
run: cargo test --verbose --all-targets --features=https
- name: Run tests (No Features)
run: cargo test --verbose --all-targets --no-default-features
- name: Run tests (All Features)
run: cargo test --verbose --all-targets --all-features
- name: Clippy (All Features)
run: cargo clippy --all-targets --all-features
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
run: cargo llvm-cov --all-targets --all-features --workspace --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
fail_ci_if_error: true
slug: TimelessOS/LCAS