From 326b08e3623548058e2e16e4cc70768deceba713 Mon Sep 17 00:00:00 2001 From: oberrich <6305520+oberrich@users.noreply.github.com> Date: Mon, 8 Apr 2024 04:31:57 +0200 Subject: [PATCH] Create rust.yml --- .github/workflows/rust.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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..0847574 --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,23 @@ +name: Rust + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + with: { submodules: recursive } + - name: Install Rust + uses: dtolnay/rust-toolchain@nightly + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose