From 71c3dc166644a80c5f20e66cc27356a3eafe8638 Mon Sep 17 00:00:00 2001 From: Iwan BK Date: Wed, 30 Oct 2024 11:36:30 +0700 Subject: [PATCH] feat(ghactions): add macos github actions check --- .github/workflows/tests.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index d4f25cd..3d09630 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -16,13 +16,12 @@ jobs: - uses: clechasseur/rs-fmt-check@v2 test: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest] steps: - uses: actions/checkout@v4 - - name: Get Dependencies - run: | - sudo apt-get update - sudo apt-get install capnproto - uses: actions-rs/toolchain@v1 with: toolchain: stable