Create rust-check.yml

This commit is contained in:
LDprg 2023-07-14 17:28:05 +02:00 committed by GitHub
parent a3e0313a73
commit 5402437584
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

20
.github/workflows/rust-check.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Rust Check
on:
push:
branches: [ "rewrite" ]
pull_request:
branches: [ "rewrite" ]
env:
CARGO_TERM_COLOR: always
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: mirlahiji/rust-action@master
with:
args: cd integration-test && cargo fmt -- --check && cargo clippy -- -Dwarnings && cargo test