17 lines
401 B
YAML
17 lines
401 B
YAML
name: Cargo Build and Test
|
|
|
|
on: [push, pull_request]
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
build_and_test:
|
|
name: Rust project - latest
|
|
runs-on: debian-stable
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: rustup update stable && rustup default stable
|
|
- run: cargo build --verbose --all-features --all-targets
|
|
- run: cargo test --verbose --all-features --all-targets
|