From 9cfb73d19c772c0fe58a16bc2c51e1a963b30020 Mon Sep 17 00:00:00 2001 From: teesh3rt Date: Sun, 30 Mar 2025 11:52:43 +0300 Subject: [PATCH] chore: make the tests run on multiple things --- .github/workflows/test.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 128566a..c4a7985 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,13 +2,20 @@ on: push jobs: test: - runs-on: ubuntu-latest + strategy: + matrix: + os: [ubuntu-latest, windows-latest] + toolchain: [stable, nightly] + + runs-on: ${{ matrix.os }} steps: - name: Check out code uses: actions/checkout@v2 - name: Set up rust uses: dtolnay/rust-toolchain@stable + with: + toolchain: ${{ matrix.toolchain }} - name: Cache dependencies uses: Swatinem/rust-cache@v2