diff --git a/.github/workflow/maven-test.yml b/.github/workflow/maven-test.yml deleted file mode 100644 index 20639fc..0000000 --- a/.github/workflow/maven-test.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Build & Test -'on': - push: - branches: - - "**" - pull_request: - branches: - - "**" - schedule: - - cron: 0 16 * * * - workflow_dispatch: -jobs: - build: - runs-on: ubuntu-latest - strategy: - matrix: - java: - - 17 - steps: - - uses: actions/checkout@v1 - with: - fetch-depth: 0 - - name: 'Set up JDK ${{ matrix.java }}' - uses: actions/setup-java@v1 - with: - java-version: '${{ matrix.java }}' - - name: Build and test with Maven - run: mvn -B package -Dgpg.signature.skip=true -Dspring.profiles.active=oauth diff --git a/.github/workflow/sonarcloud.yml b/.github/workflows/sonar.yml similarity index 95% rename from .github/workflow/sonarcloud.yml rename to .github/workflows/sonar.yml index 517b8e3..c59b6ef 100644 --- a/.github/workflow/sonarcloud.yml +++ b/.github/workflows/sonar.yml @@ -32,8 +32,8 @@ jobs: run: echo "Unsecure PR, must be labelled with the 'safe' label, then run the workflow again" && exit 1 - name: Build with Maven - - mvn clean install + run: >- + mvn clean install -Dgpg.signature.skip=true - name: Sonar Scan env: @@ -46,4 +46,3 @@ jobs: -Dsonar.organization=mastercard -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN -Dsonar.cpd.exclusions=**/OkHttp*.java -Dsonar.exclusions=**/*.xml -Dgpg.signature.skip=true -