mirror of
https://github.com/cccb/servicepoint.git
synced 2025-01-18 18:10:14 +01:00
25 lines
397 B
YAML
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
|