diff --git a/.github/workflows/code_quality.yml b/.github/workflows/code_quality.yml index 1365c36e398..61323adcd4d 100644 --- a/.github/workflows/code_quality.yml +++ b/.github/workflows/code_quality.yml @@ -19,10 +19,10 @@ jobs: java-version: 21 distribution: 'corretto' cache: 'gradle' + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3.3.2 - name: Build with Gradle - uses: gradle/gradle-build-action@v3.3.2 - with: - arguments: -DENABLE_NULLNESS=true compileTest + run: ./gradlew -DENABLE_NULLNESS=true compileTest formatting: runs-on: ubuntu-latest @@ -33,7 +33,7 @@ jobs: distribution: 'corretto' java-version: '21' cache: 'gradle' - - name: Build with Gradle - uses: gradle/gradle-build-action@v3.3.2 - with: - arguments: --continue spotlessCheck \ No newline at end of file + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3.3.2 + - name: SpotlessCheck + run: ./gradlew --continue spotlessCheck diff --git a/.github/workflows/gradle-publish.yml b/.github/workflows/gradle-publish.yml index 904b5db74f9..e46dd959484 100644 --- a/.github/workflows/gradle-publish.yml +++ b/.github/workflows/gradle-publish.yml @@ -21,17 +21,15 @@ jobs: cache: 'gradle' server-id: github # Value of the distributionManagement/repository/id field of the pom.xml + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3.3.2 - name: Assemble with Gradle - uses: gradle/gradle-build-action@v3.3.2 - with: - arguments: assemble + run: ./gradlew assemble # The USERNAME and TOKEN need to correspond to the credentials environment variables used in # the publishing section of your build.gradle - name: Publish to GitHub Packages - uses: gradle/gradle-build-action@v3.3.2 - with: - arguments: publish + run: ./gradlew publish env: USERNAME: ${{ github.actor }} TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/javadoc.yml b/.github/workflows/javadoc.yml index d5dc9e44c78..82e5a48f7be 100644 --- a/.github/workflows/javadoc.yml +++ b/.github/workflows/javadoc.yml @@ -18,11 +18,10 @@ jobs: java-version: '21' distribution: 'corretto' cache: 'gradle' - - - name: Build with Gradle - uses: gradle/gradle-build-action@v3.3.2 - with: - arguments: alldoc + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3.3.2 + - name: Build Documentation with Gradle + run: ./gradlew alldoc - name: Package run: tar cvfj javadoc.tar.bz2 build/docs/javadoc diff --git a/.github/workflows/nightlydeploy.yml b/.github/workflows/nightlydeploy.yml index 4e047eafeb2..97cd713ffac 100644 --- a/.github/workflows/nightlydeploy.yml +++ b/.github/workflows/nightlydeploy.yml @@ -30,10 +30,10 @@ jobs: java-version: 17 distribution: 'temurin' + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3.3.2 - name: Build with Gradle - uses: gradle/gradle-build-action@v3.3.2 - with: - arguments: --parallel assemble + run: ./gradlew --parallel assemble - name: Delete previous nightly release continue-on-error: true diff --git a/.github/workflows/opttest.yml b/.github/workflows/opttest.yml index 250792c3a2c..360cb718d81 100644 --- a/.github/workflows/opttest.yml +++ b/.github/workflows/opttest.yml @@ -24,10 +24,10 @@ jobs: distribution: 'corretto' cache: 'gradle' - - name: Build with Gradle - uses: gradle/gradle-build-action@v3.3.2 - with: - arguments: --continue ${{ matrix.tests }} + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3.3.2 + - name: Test with Gradle + run: ./gradlew --continue ${{ matrix.tests }} - name: Upload test results uses: actions/upload-artifact@v4 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bc34c820e96..a9f68ed0541 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -37,10 +37,10 @@ jobs: distribution: 'corretto' cache: 'gradle' - - name: Build with Gradle - uses: gradle/gradle-build-action@v3.3.2 - with: - arguments: --continue -DjacocoEnabled=true -x :key.core.symbolic_execution:test -x :key.core.proof_references:test test + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3.3.2 + - name: Test with Gradle + run: ./gradlew --continue -DjacocoEnabled=true -x :key.core.symbolic_execution:test -x :key.core.proof_references:test test - name: Upload test results uses: actions/upload-artifact@v4 @@ -86,11 +86,10 @@ jobs: run: .github/dlsmt.sh shell: bash - + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3.3.2 - name: "Running tests: ${{ matrix.test }}" - uses: gradle/gradle-build-action@v3.3.2 - with: - arguments: --continue ${{ matrix.test }} + run: ./gradlew --continue ${{ matrix.test }} - name: Upload test results uses: actions/upload-artifact@v4 diff --git a/.github/workflows/tests_winmac.yml b/.github/workflows/tests_winmac.yml index 0d8cb6bc041..96a248d0b2c 100644 --- a/.github/workflows/tests_winmac.yml +++ b/.github/workflows/tests_winmac.yml @@ -28,10 +28,11 @@ jobs: distribution: 'corretto' cache: 'gradle' - - name: Build with Gradle - uses: gradle/gradle-build-action@v3.3.2 - with: - arguments: --continue -x :key.core.symbolic_execution:test -x :key.core.proof_references:test test + - name: Setup Gradle + uses: + gradle/actions/setup-gradle@v3.3.2 + - name: Test with Gradle + run: ./gradlew --continue -x :key.core.symbolic_execution:test -x :key.core.proof_references:test test - name: Upload test results uses: actions/upload-artifact@v4 @@ -74,10 +75,10 @@ jobs: - name: Install SMT-Solvers run: .github/dlsmt.sh + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3.3.2 - name: "Running tests: ${{ matrix.test }}" - uses: gradle/gradle-build-action@v3.3.2 - with: - arguments: --continue ${{ matrix.test }} + run: ./gradlew --continue ${{ matrix.test }} - name: Upload test results uses: actions/upload-artifact@v4