mirror of
https://github.com/cccb/servicepoint.git
synced 2025-01-18 10:00:14 +01:00
add CI
This commit is contained in:
parent
649e2a39c3
commit
ff713690e3
24
.github/workflows/rust.yml
vendored
Normal file
24
.github/workflows/rust.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
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
|
Loading…
Reference in a new issue