diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e14e2ef..86e8324 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -57,4 +57,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: mvn --no-transfer-progress clean verify -Pnative org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=muhamadto_spring-native-aws-lambda --settings settings-spring.xml + run: mvn --no-transfer-progress clean verify -Pnative org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=muhamadto_spring-native-aws-lambda diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index c330d61..b6c5e4f 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -35,6 +35,7 @@ jobs: java-version: [ '20' ] graalvm-version: [ '20.0.2' ] distribution: [ 'graalvm' ] + language: [ 'java' ] fail-fast: true steps: - name: Checkout repository @@ -53,25 +54,11 @@ jobs: - name: maven-settings-xml-action uses: whelk-io/maven-settings-xml-action@v18 with: - repositories: > + active_profiles: > [ - { - "id": "spring-releases", - "name": "Spring Releases", - "url": "https://repo.spring.io/release" - } + "native" ] - plugin_repositories: > - [ - { - "id": "spring-releases", - "name": "Spring Releases", - "url": "https://repo.spring.io/release" - } - ] - profiles: '[{ "id": "native"}]' - - - name: Build + - name: Autobuild uses: github/codeql-action/autobuild@v2 - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2