From 05aa13fbde26a2f8c6088ac865a8c35adfa68815 Mon Sep 17 00:00:00 2001 From: Alexander van Saase Date: Sat, 2 Dec 2023 00:46:47 +0100 Subject: [PATCH] Basic GH Actions setup --- .github/workflows/ci.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..30cf238 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,22 @@ +name: CI + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Format + run: cargo fmt --check + - name: Clippy + run: cargo clippy --features std + - name: Tests + run: cargo test test --features std \ No newline at end of file