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

22 lines
501 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
steps:
- uses: actions/checkout@v3
# - container: rust:latest
# run: rustup update stable && rustup default stable
- container: rust:latest
run: cargo build --verbose --all-features --all-targets
- container: rust:latest
run: cargo test --verbose --all-features --all-targets