musichoard/.gitea/workflows/gitea-ci.yaml
Wojciech Kozlowski b3aecbe9d9
Some checks failed
Cargo Build and Test / Rust project - latest (push) Failing after 5s
Cargo Build and Test / Rust project - latest (pull_request) Failing after 6s
Add ci workflow
2024-01-06 01:01:16 +01:00

21 lines
450 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-latest
container: rust:latest
steps:
- container:
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