checkmate ci to replace old

This commit is contained in:
17ms 2023-05-06 02:29:53 +03:00
parent e1af665a65
commit 160cd01a56
2 changed files with 21 additions and 21 deletions

21
.github/workflows/cargo-checkmate.yaml vendored Normal file
View 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

View File

@ -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