Skip to content

Commit

Permalink
Spring 3 and java 20
Browse files Browse the repository at this point in the history
Signed-off-by: muhamadto <muhamadto@gmail.com>
  • Loading branch information
muhamadto committed Aug 2, 2023
1 parent 4f94e46 commit 0375181
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,20 @@ jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ '20' ]
graalvm-version: [ '20.0.2' ]
distribution: [ 'graalvm' ]
fail-fast: true
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
uses: graalvm/setup-graalvm@v1
with:
distribution: 'temurin'
java-version: '20'
distribution: '${{ matrix.distribution }}'
version: '${{ matrix.graalvm-version }}'
java-version: '${{ matrix.java-version }}'
cache: 'maven'
- name: Cache Sonar packages
uses: actions/cache@v3
Expand Down
17 changes: 11 additions & 6 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,20 @@ jobs:
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'java' ]
java-version: [ '20' ]
graalvm-version: [ '20.0.2' ]
distribution: [ 'graalvm' ]
fail-fast: true
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
uses: graalvm/setup-graalvm@v1
with:
distribution: 'temurin'
java-version: '20'
distribution: '${{ matrix.distribution }}'
version: '${{ matrix.graalvm-version }}'
java-version: '${{ matrix.java-version }}'
cache: 'maven'
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand All @@ -66,7 +69,9 @@ jobs:
"url": "https://repo.spring.io/release"
}
]
- name: Autobuild
profiles: '[{ "id": "native"}]'

- name: Build
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

0 comments on commit 0375181

Please sign in to comment.