From c29bcc0fa88266bbfb636c6604beb40e8e8533bf Mon Sep 17 00:00:00 2001 From: vil02 Date: Sat, 20 Jan 2024 20:31:46 +0100 Subject: [PATCH] chore: add `ci.yml` --- .github/workflows/ci.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..b43aa4d --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,33 @@ +--- +name: ci + +'on': + workflow_dispatch: + push: + branches: + - master + pull_request: + +jobs: + run_tests: + runs-on: ${{matrix.os}} + strategy: + fail-fast: false + matrix: + os: + - ubuntu-22.04 + - macos-12 + - windows-2022 + java-version: [11, 16, 17] + + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + distribution: 'zulu' + java-version: ${{matrix.java-version}} + + - name: Run tests + run: | + sbt test +...