Skip to content

Add Cargo build and test workflow for pull requests #1

Add Cargo build and test workflow for pull requests

Add Cargo build and test workflow for pull requests #1

Workflow file for this run

name: Cargo Build & Test
on:
pull_request:
branches: [dev]
env:
CARGO_TERM_COLOR: always
jobs:
build_and_test:
name: Rust project - latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup update stable && rustup default stable
- run: cargo build --verbose
- run: cargo test --verbose