diff options
author | Kristóf Marussy <marussy@mit.bme.hu> | 2023-06-18 18:04:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-18 18:04:43 +0200 |
commit | a0619c0fbf1fab2304ca683343803d1f37c2ef7c (patch) | |
tree | 6d6e342b019a1f3ad0baae710cf520a5dffe4b9e /.github/workflows | |
parent | Merge pull request #24 from kris7t/partial-interpretation (diff) | |
parent | chore(deps): bump dependencies (diff) | |
download | refinery-a0619c0fbf1fab2304ca683343803d1f37c2ef7c.tar.gz refinery-a0619c0fbf1fab2304ca683343803d1f37c2ef7c.tar.zst refinery-a0619c0fbf1fab2304ca683343803d1f37c2ef7c.zip |
Merge pull request #26 from kris7t/query-refactor
Query refactor
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build.yml | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 64aa23e4..6138fad1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
@@ -1,3 +1,7 @@ | |||
1 | # SPDX-FileCopyrightText: 2021-2023 The Refinery Authors | ||
2 | # | ||
3 | # SPDX-License-Identifier: EPL-2.0 | ||
4 | |||
1 | name: Build | 5 | name: Build |
2 | on: | 6 | on: |
3 | push: | 7 | push: |
@@ -23,10 +27,10 @@ jobs: | |||
23 | uses: actions/checkout@v3 | 27 | uses: actions/checkout@v3 |
24 | with: | 28 | with: |
25 | 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 |
26 | - name: Set up JDK 19 | 30 | - name: Set up JDK 17 |
27 | uses: actions/setup-java@v3 | 31 | uses: actions/setup-java@v3 |
28 | with: | 32 | with: |
29 | java-version: 19 | 33 | java-version: 17 |
30 | distribution: temurin | 34 | distribution: temurin |
31 | - name: Cache Gradle packages | 35 | - name: Cache Gradle packages |
32 | uses: actions/cache@v3 | 36 | uses: actions/cache@v3 |
@@ -67,4 +71,13 @@ jobs: | |||
67 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed by Sonar to get PR information, if any | 71 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed by Sonar to get PR information, if any |
68 | SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | 72 | SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |
69 | run: | | 73 | run: | |
70 | ./gradlew build sonarqube -Pci --info | 74 | ./gradlew build sonar -Pci --info |
75 | reuse-check: | ||
76 | name: REUSE Compliance Check | ||
77 | runs-on: ubuntu-latest | ||
78 | steps: | ||
79 | - uses: actions/checkout@v3 | ||
80 | - name: REUSE Compliance Check | ||
81 | uses: fsfe/reuse-action@v1 | ||
82 | with: | ||
83 | args: --include-meson-subprojects lint | ||