From 99f6c209f9bdac6b500e3c140119fe09f338385e Mon Sep 17 00:00:00 2001 From: laughingman7743 Date: Tue, 9 Apr 2024 20:13:13 +0900 Subject: [PATCH] Add test matrix --- .github/workflows/test.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 6a7e3ab..55122fe 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -6,12 +6,15 @@ on: jobs: test: runs-on: ubuntu-latest + strategy: + matrix: + java-version: [11, 17, 21] steps: - uses: actions/checkout@v4 - uses: actions/setup-java@v4 with: - java-version: "11" + java-version: ${{ matrix.java-version }} distribution: "temurin" cache: 'maven' - name: Build with Maven