summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/check.yml21
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 @@
1name: check
2
3on: [ pull_request, push ]
4
5env:
6 SCCACHE_GHA_ENABLED: "true"
7 RUSTC_WRAPPER: "sccache"
8 CARGO_TERM_COLOR: always
9 RUSTFLAGS: "-Dwarnings"
10
11jobs:
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