diff options
| author | Fuwn <[email protected]> | 2022-03-26 09:59:17 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-03-26 09:59:17 +0000 |
| commit | a26977c40b76fd5c9b41f9b2c4309310ac4f8410 (patch) | |
| tree | 69aed9284a57b9a1161b3eccedcea2b72bf36460 /.github/workflows | |
| parent | docs(readme): add readme (diff) | |
| download | windmark-a26977c40b76fd5c9b41f9b2c4309310ac4f8410.tar.xz windmark-a26977c40b76fd5c9b41f9b2c4309310ac4f8410.zip | |
ci(actions): rust check
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/check.yaml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml new file mode 100644 index 0000000..47f63a3 --- /dev/null +++ b/.github/workflows/check.yaml @@ -0,0 +1,35 @@ +name: Check ✅ + +on: + workflow_dispatch: + push: + paths: + - "*" + pull_request: + paths: + - "*" + +env: + CARGO_TERM_COLOR: always + +jobs: + check: + runs-on: ubuntu-latest + steps: + - name: Checkout 🛒 + uses: actions/checkout@v3 + + - name: Toolchain 🧰 + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: nightly-2022-02-22 + components: rustfmt, clippy + override: true + + - name: Check ✅ + uses: actions-rs/cargo@v1 + continue-on-error: false + with: + command: check + args: --verbose |