From 2d1b1a7407ef4e953a5acaafac163ce971e2848c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cafer=20Can=20G=C3=BCndo=C4=9Fdu?= <74418666+cafercangundogdu@users.noreply.github.com> Date: Wed, 1 Jan 2025 18:09:31 +0300 Subject: [PATCH] Create rust.yml --- .github/workflows/rust.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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..9f1f51d --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,25 @@ +name: Rust + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + + steps: + - uses: actions/checkout@v4 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose