From ef5407057c9feaa24312e0f773f429b95ec21762 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20Leegwater=20Sim=C3=B5es?= Date: Wed, 15 Nov 2023 23:12:36 +0100 Subject: [PATCH] Add "check" GitHub workflow --- .github/workflows/build.yml | 0 .github/workflows/check.yml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) delete mode 100644 .github/workflows/build.yml create mode 100644 .github/workflows/check.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index e69de29..0000000 diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..4759861 --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,30 @@ +name: Check `healm` +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + test: + runs-on: ubuntu-latest + container: + image: rust:latest + steps: + - run: cargo test --all-features + + format: + runs-on: ubuntu-latest + container: + image: rust:latest + steps: + - run: cargo fmt --check + + lint: + runs-on: ubuntu-latest + container: + image: rust:latest + steps: + - run: cargo clippy --all-features -- -D warnings