musichoard/.gitea/workflows/gitea-ci.yaml

21 lines
470 B
YAML
Raw Normal View History

2024-01-06 02:05:28 +01:00
name: Cargo Build and Test
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build_and_test:
name: Rust project - latest
runs-on: runner
container: docker.io/library/rust
steps:
- uses: actions/checkout@v3
# - container: rust:latest
# run: rustup update stable && rustup default stable
- run: cargo build --verbose --all-features --all-targets
- run: cargo test --verbose --all-features --all-targets