From e04106eecbc786c4a9c78e4611c207ba3ef5bf30 Mon Sep 17 00:00:00 2001 From: Steven Rhodes Date: Tue, 5 Mar 2024 10:25:14 -0800 Subject: [PATCH] add ci workflow --- .github/workflows/ci.yaml | 16 ++++++++++++++++ 1 file changed, 16 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..312882b --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,16 @@ +--- +name: Build and Test +on: + push: + pull_request: +jobs: + build_and_test: + name: Rust project + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + - run: cargo build --release --all-features + - run: cargo test