diff options
| author | Fuwn <[email protected]> | 2022-07-18 16:50:44 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-07-18 16:50:44 -0700 |
| commit | f939854be698f35fd2c69da44fccb4a10ca60385 (patch) | |
| tree | 6f2eb27aa68efbf571c13c370003ee9f5344df22 /.github | |
| download | pok-f939854be698f35fd2c69da44fccb4a10ca60385.tar.xz pok-f939854be698f35fd2c69da44fccb4a10ca60385.zip | |
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/rust.yaml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml new file mode 100644 index 0000000..e994afb --- /dev/null +++ b/.github/workflows/rust.yaml @@ -0,0 +1,35 @@ +name: Rust ✅ + +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: stable + components: rustfmt, clippy + override: true + + - name: Check ✅ + uses: actions-rs/cargo@v1 + continue-on-error: false + with: + command: check + args: --verbose |