Skip to content

Output end of pipeline run event #395

Output end of pipeline run event

Output end of pipeline run event #395

name: Rust CI
on:
push:
branches:
- "**"
pull_request:
branches:
- "**"
env:
CARGO_TERM_COLOR: always # Ensures colored output in GitHub Actions logs
jobs:
build-and-test:
name: Build and Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
fail-fast: false
steps:
- uses: actions/[email protected]
- name: Setup Rust toolchain
run: rustup toolchain install stable --profile minimal
- name: Rust Cache
uses: Swatinem/[email protected]
- name: Set up cargo Nextest
run: |
which cargo-nextest || cargo install cargo-nextest
- name: Build
run: cargo build --release --verbose
# - name: Copy config
# run: mkdir -p $HOME/.config/tracer && cp tracer.toml $HOME/.config/tracer/tracer.toml
- name: Run tests
run: make test
- name: Check Formatting
run: cargo fmt -- --check
- name: Lint with Clippy
run: make clippy