servicepoint/.github/workflows/rust.yml
Vinzenz Schroeter ff713690e3 add CI
2024-06-05 20:43:55 +02:00

25 lines
397 B
YAML

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build crates
run: cargo build --all --verbose
- name: Build
run: cargo build --examples --verbose
- name: Run tests
run: cargo test --all --verbose