From e4de9c9226fbbfb2c38e0555f5de668eebd3a738 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=BDubom=C3=ADr=20Kur=C4=8D=C3=A1k?= Date: Thu, 9 May 2024 23:44:08 +0200 Subject: [PATCH] Create ci.yml --- .github/workflows/rust.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/rust.yml diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..6d78e5f --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,21 @@ +name: Test + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Test + run: cargo test --verbose + - name: Test release + run: cargo test --release --verbose