checkmate ci to replace old
This commit is contained in:
parent
e1af665a65
commit
160cd01a56
21
.github/workflows/cargo-checkmate.yaml
vendored
Normal file
21
.github/workflows/cargo-checkmate.yaml
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
name: cargo-checkmate continuous integration
|
||||||
|
|
||||||
|
env:
|
||||||
|
CARGO_TERM_COLOR: always
|
||||||
|
RUST_BACKTRACE: full
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
cargo-checkmate:
|
||||||
|
name: cargo-checkmate
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
profile: minimal
|
||||||
|
toolchain: stable
|
||||||
|
override: true
|
||||||
|
- run: cargo install cargo-checkmate
|
||||||
|
- run: cargo-checkmate
|
21
.github/workflows/ci.yml
vendored
21
.github/workflows/ci.yml
vendored
@ -1,21 +0,0 @@
|
|||||||
name: Cargo Build & Test
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: ["master"]
|
|
||||||
pull_request:
|
|
||||||
branches: ["master"]
|
|
||||||
|
|
||||||
env:
|
|
||||||
CARGO_TERM_COLOR: always
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build_and_test:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@main
|
|
||||||
- name: Build
|
|
||||||
run: cargo build --verbose
|
|
||||||
- name: Run tests
|
|
||||||
run: cargo test --verbose
|
|
Loading…
Reference in New Issue
Block a user