diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index eaec722..4dbc817 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,9 +13,21 @@ env: jobs: build: name: Build - runs-on: "ubuntu-latest" + strategy: + matrix: + runner: + - ubuntu-latest + - windows-latest + - macos-latest + runs-on: ${{ matrix.runner }} steps: - - uses: "actions/checkout@v2" + - uses: "actions/checkout@v4" + - name: Install Windows dependencies. + run: choco install pandoc + if: matrix.runner == 'windows-latest' + - name: Install macOS dependencies. + run: brew install pandoc + if: matrix.runner == 'macos-latest' - uses: "r-lib/actions/setup-r@v2" - uses: r-lib/actions/setup-r-dependencies@v2 with: