From 28aca46a4664b814c735ce2cf466fe63d121aa4e Mon Sep 17 00:00:00 2001 From: arnaucube Date: Mon, 30 Dec 2024 10:23:07 +0100 Subject: [PATCH] add GHA test & clippy --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..0f3ad47 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,20 @@ +name: Test +on: [push, pull_request] +env: + CARGO_TERM_COLOR: always +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Build + run: cargo build --release --verbose + - name: Tests + run: | + cargo test --release --verbose + clippy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Clippy + run: cargo clippy --all-targets --all-features