diff options
author | 2024-04-03 20:28:45 +0200 | |
---|---|---|
committer | 2024-04-03 20:28:45 +0200 | |
commit | 859ba2b5e153bd5959fad42cbd21fd87a2643cdb (patch) | |
tree | 2bd59ac89cfb943a4f67ef290bdb23bc2468a78f /.github/workflows | |
parent | fix(build): missing option in Dockerfile (diff) | |
download | refinery-859ba2b5e153bd5959fad42cbd21fd87a2643cdb.tar.gz refinery-859ba2b5e153bd5959fad42cbd21fd87a2643cdb.tar.zst refinery-859ba2b5e153bd5959fad42cbd21fd87a2643cdb.zip |
chore(deps): bump dependencies
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build.yml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6138fad1..1d57d565 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
@@ -27,10 +27,10 @@ jobs: | |||
27 | uses: actions/checkout@v3 | 27 | uses: actions/checkout@v3 |
28 | with: | 28 | with: |
29 | fetch-depth: ${{ !steps.check-secret.outputs.is_SONAR_TOKEN_set && 1 || 0 }} # Shallow clones should be disabled for a better relevancy of SonarCloud analysis | 29 | fetch-depth: ${{ !steps.check-secret.outputs.is_SONAR_TOKEN_set && 1 || 0 }} # Shallow clones should be disabled for a better relevancy of SonarCloud analysis |
30 | - name: Set up JDK 17 | 30 | - name: Set up JDK 21 |
31 | uses: actions/setup-java@v3 | 31 | uses: actions/setup-java@v3 |
32 | with: | 32 | with: |
33 | java-version: 17 | 33 | java-version: 21 |
34 | distribution: temurin | 34 | distribution: temurin |
35 | - name: Cache Gradle packages | 35 | - name: Cache Gradle packages |
36 | uses: actions/cache@v3 | 36 | uses: actions/cache@v3 |
@@ -62,16 +62,15 @@ jobs: | |||
62 | key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | 62 | key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} |
63 | restore-keys: ${{ runner.os }}-yarn | 63 | restore-keys: ${{ runner.os }}-yarn |
64 | - name: Gradle build | 64 | - name: Gradle build |
65 | if: ${{ !steps.check-secret.outputs.is_SONAR_TOKEN_set }} | ||
66 | run: | | 65 | run: | |
67 | ./gradlew build -Pci --info | 66 | ./gradlew build -Pci --info |
68 | - name: Gradle build and Sonar analyze | 67 | - name: Sonar analyze |
69 | if: ${{ steps.check-secret.outputs.is_SONAR_TOKEN_set }} | 68 | if: ${{ steps.check-secret.outputs.is_SONAR_TOKEN_set }} |
70 | env: | 69 | env: |
71 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed by Sonar to get PR information, if any | 70 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed by Sonar to get PR information, if any |
72 | SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | 71 | SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |
73 | run: | | 72 | run: | |
74 | ./gradlew build sonar -Pci --info | 73 | ./gradlew sonar -Pci --info |
75 | reuse-check: | 74 | reuse-check: |
76 | name: REUSE Compliance Check | 75 | name: REUSE Compliance Check |
77 | runs-on: ubuntu-latest | 76 | runs-on: ubuntu-latest |