diff options
author | FxQnLr <[email protected]> | 2024-02-26 15:45:00 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-02-26 15:45:00 +0100 |
commit | 0967f44161e972ff1a8482fd168897a3b183bae3 (patch) | |
tree | 7fa2df9aacfd3af65bb8662abe8f5a08ff105360 | |
parent | cd73d51fba4a7d24b5ef12cb7d23054ab922cb67 (diff) | |
download | webol-cli-0967f44161e972ff1a8482fd168897a3b183bae3.tar webol-cli-0967f44161e972ff1a8482fd168897a3b183bae3.tar.gz webol-cli-0967f44161e972ff1a8482fd168897a3b183bae3.zip |
Create check.yml
-rw-r--r-- | .github/workflows/check.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..e6f82ea --- /dev/null +++ b/.github/workflows/check.yml | |||
@@ -0,0 +1,21 @@ | |||
1 | name: check | ||
2 | |||
3 | on: [ pull_request, push ] | ||
4 | |||
5 | env: | ||
6 | SCCACHE_GHA_ENABLED: "true" | ||
7 | RUSTC_WRAPPER: "sccache" | ||
8 | CARGO_TERM_COLOR: always | ||
9 | RUSTFLAGS: "-Dwarnings" | ||
10 | |||
11 | jobs: | ||
12 | check: | ||
13 | runs-on: ubuntu-latest | ||
14 | steps: | ||
15 | - name: run sccache | ||
16 | uses: mozilla-actions/[email protected] | ||
17 | |||
18 | - uses: actions/checkout@v4 | ||
19 | |||
20 | - run: cargo check --release | ||
21 | - run: cargo clippy --release | ||