Add ci workflow
Some checks failed
Cargo Build and Test / Rust project - latest (push) Failing after 0s
Cargo Build and Test / Rust project - latest (pull_request) Failing after 0s

This commit is contained in:
Wojciech Kozlowski 2024-01-05 23:49:40 +01:00
parent 62d6c43e3c
commit 6cf0ebc57e

View File

@ -0,0 +1,16 @@
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