From 6c1b69c2d795f11594788e697518cfdb8e0e48fe Mon Sep 17 00:00:00 2001 From: Simon Ochsenreither Date: Thu, 1 Aug 2024 23:10:51 +0200 Subject: [PATCH] Configure GitHub CI matrix build --- .github/workflows/test.yml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e90732b..afe220d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,15 +8,20 @@ on: jobs: build: + strategy: + matrix: + os: + - windows-latest + - ubuntu-latest - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v2 - with: - java-version: '11' - distribution: 'adopt' - - name: Run tests - run: sbt test + - uses: actions/checkout@v4 + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'adopt' + - name: Run tests + run: sbt test