Skip to content

Commit

Permalink
java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
palfi committed Nov 16, 2023
1 parent e1dbce6 commit 2a425a8
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,13 @@ on:

jobs:
build-feature:
name: Build
name: Build
permissions:
contents: read
uses: navikt/fp-gha-workflows/.github/workflows/build-feature.yml@main
with:
sonar-scan: true # default: false
java-version: 21
secrets: inherit

release-drafter:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ jobs:
contents: read
security-events: write
uses: navikt/fp-gha-workflows/.github/workflows/codeql.yml@main
with:
java-version: 21
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ jobs:
uses: navikt/fp-gha-workflows/.github/workflows/release-feature.yml@main
with:
release-version: ${{ github.event.release.tag_name }}
java-version: 21
secrets: inherit
2 changes: 1 addition & 1 deletion .java-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
17
21
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Inneholder tre tjenester for foreldrepenger:

# Komme i gang

Bygges med maven, java 17
Bygges med maven, java 21

## For NAV-ansatte

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</developers>

<properties>
<java.version>17</java.version>
<java.version>21</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down

0 comments on commit 2a425a8

Please sign in to comment.