Skip to content

Commit

Permalink
Stop building against JDK 8
Browse files Browse the repository at this point in the history
  • Loading branch information
damianszczepanik committed Dec 26, 2023
1 parent c566910 commit 74065a9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
build:
strategy:
matrix:
java: [ '8', '11' ]
java: [ '17' ]
os: [ 'ubuntu-latest', 'windows-latest', 'macos-latest' ]

runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: adopt

- name: Generate code coverage
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: github-pages
on:
push:
branches:
- master # upload demo report only from main branch
# upload demo report only from main branch
- master

jobs:
build:
Expand All @@ -14,7 +15,7 @@ jobs:

- uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: adopt

- name: Generate demo report
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

- uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: adopt

- 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 @@ -116,8 +116,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>17</source>
<target>17</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
Expand Down

0 comments on commit 74065a9

Please sign in to comment.