Skip to content

Commit

Permalink
Merge pull request #26 from mercari/add_test_matrix
Browse files Browse the repository at this point in the history
Add test matrix
  • Loading branch information
laughingman7743 authored Apr 9, 2024
2 parents 1ac69d2 + cf6bf2e commit a17cf87
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@
<slf4j.version>2.0.6</slf4j.version>
<logback.version>1.4.5</logback.version>
<junit.version>5.7.0</junit.version>
<spotless.version>2.33.0</spotless.version>
<shade.plugin.version>3.4.1</shade.plugin.version>
<compiler.plugin.version>3.10.1</compiler.plugin.version>
<surefire.plugin.version>2.22.2</surefire.plugin.version>
<spotless.version>2.43.0</spotless.version>
</properties>

<distributionManagement>
Expand Down Expand Up @@ -243,7 +243,7 @@
<configuration>
<java>
<googleJavaFormat>
<version>1.8</version>
<version>1.22.0</version>
<style>GOOGLE</style>
</googleJavaFormat>
<removeUnusedImports />
Expand Down

0 comments on commit a17cf87

Please sign in to comment.