From 19de75420a563d5a219ba6783745929002968f9c Mon Sep 17 00:00:00 2001 From: Cosmic Vagabond <121588426+cosmic-vagabond@users.noreply.github.com> Date: Wed, 29 Nov 2023 04:30:16 +0100 Subject: [PATCH] Create test.yml --- .github/workflows/test.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..cef24df --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,23 @@ +name: Rust Test + +on: [push] + +jobs: + build: + name: Test + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Rust + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + + - name: Build and test + run: | + cargo build --verbose + cargo test --verbose