From 2740ad3239998ae63f1751cd9e8bd091255e786e Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Fri, 25 Jul 2025 16:06:24 +0200 Subject: github: Add workflows for CI execution MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/ci.yml (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..a2ec6aa --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +env: + RUSTFLAGS: "-Dwarnings" + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Ensure latest Rust stable + run: | + rustup update stable + rustup default stable + + - name: Run tests + run: cargo test --verbose + + - name: Run Clippy + run: cargo clippy --all-targets --all-features -- cgit v1.2.3