From 59fdf166ec9bdd4f7db5f00eba59726820df82a6 Mon Sep 17 00:00:00 2001 From: Urs Metz Date: Thu, 18 Apr 2024 16:52:40 +0200 Subject: [PATCH] Add GitHub actions workflow for building and testing --- .github/workflows/ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 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..a0b7ae4 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +name: Cargo Build & Test + +on: + push: + pull_request: + +env: + CARGO_TERM_COLOR: always + +jobs: + build_and_test: + name: Build and test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: rustup update stable && rustup default stable + - run: cargo build --verbose + - run: cargo test --verbose \ No newline at end of file