From 4b1387fb26a05efe380366f5aea63afa1465e84c Mon Sep 17 00:00:00 2001 From: shimwell Date: Tue, 22 Oct 2024 23:11:08 +0100 Subject: [PATCH] added ci; --- .github/workflows/ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 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..e72c328 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,19 @@ +name: CI Rust testing + +on: + push: + pull_request: + +env: + CARGO_TERM_COLOR: always + +jobs: + build_and_test: + name: Rust project - latest + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - run: rustup update stable && rustup default stable + - run: cargo build --verbose + - run: cargo test --verbose \ No newline at end of file