diff options
| author | Fuwn <[email protected]> | 2022-03-08 02:29:14 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-03-08 02:29:14 -0800 |
| commit | c14d855caf82a48b5f59443084059123bbce9295 (patch) | |
| tree | ccdf8f59f5f518879ed8e3fb5219c01cd3980888 | |
| parent | Merge pull request #2 from senpy-club/renovate/rand-0.x (diff) | |
| download | api-worker-c14d855caf82a48b5f59443084059123bbce9295.tar.xz api-worker-c14d855caf82a48b5f59443084059123bbce9295.zip | |
ci(github): add check workflow
| -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..f5de053 --- /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@v2 + + - 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 |