musichoard/.gitea/workflows/gitea-ci.yaml
Wojciech Kozlowski 98ea313a56
Some checks failed
Cargo Build and Test / Rust project - latest (push) Waiting to run
Cargo Build and Test / Rust project - latest (pull_request) Has been cancelled
Add ci workflow
2024-01-06 00:52:00 +01:00

19 lines
439 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: docker://ghcr.io/catthehacker/ubuntu:rust-latest
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