chore(deps): bump org.springframework.cloud:spring-cloud-dependencies from 2023.0.3 to 2024.0.0 #957
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: {} | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Cache package | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.m2/repository | |
~/.sonar/cache | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Build | |
run: mvn -B verify | |
- name: Analyze | |
if: success() && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
run: mvn -B sonar:sonar -Dsonar.projectKey=Decathlon_tzatziki -Dsonar.token=${{ secrets.SONAR_TOKEN }} | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1 |