From 0967f44161e972ff1a8482fd168897a3b183bae3 Mon Sep 17 00:00:00 2001 From: FxQnLr <39925636+FxQnLr@users.noreply.github.com> Date: Mon, 26 Feb 2024 15:45:00 +0100 Subject: Create check.yml --- .github/workflows/check.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/check.yml (limited to '.github/workflows') 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 @@ +name: check + +on: [ pull_request, push ] + +env: + SCCACHE_GHA_ENABLED: "true" + RUSTC_WRAPPER: "sccache" + CARGO_TERM_COLOR: always + RUSTFLAGS: "-Dwarnings" + +jobs: + check: + runs-on: ubuntu-latest + steps: + - name: run sccache + uses: mozilla-actions/sccache-action@v0.0.3 + + - uses: actions/checkout@v4 + + - run: cargo check --release + - run: cargo clippy --release -- cgit v1.2.3