Pin the latest gradle-build-action (#3045)

This commit is contained in:
Trask Stalnaker 2023-05-04 11:33:32 -07:00 коммит произвёл GitHub
Родитель d9c9b28def
Коммит b8f0e7a593
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 9 добавлений и 9 удалений

10
.github/workflows/build-common.yml поставляемый
Просмотреть файл

@ -20,7 +20,7 @@ jobs:
java-version: 17
- name: Spotless
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v2.4.2
with:
arguments: spotlessCheck ${{ inputs.no-build-cache && '--no-build-cache' || '' }}
@ -43,7 +43,7 @@ jobs:
java-version: 11
- name: Generate license report
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v2.4.2
with:
# ignore inputs.no-build-cache and always run with --no-build-cache
# see https://github.com/jk1/Gradle-License-Report/issues/231
@ -82,7 +82,7 @@ jobs:
java-version: 11
- name: Assemble
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v2.4.2
with:
# javadoc task fails sporadically fetching https://docs.oracle.com/javase/8/docs/api/
arguments: assemble -Dai.etw.native.build=release -x javadoc ${{ inputs.no-build-cache && '--no-build-cache' || '' }}
@ -130,7 +130,7 @@ jobs:
java-version: 11
- name: Test
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v2.4.2
with:
# spotless is checked separately since it's a common source of failure
arguments: >
@ -170,6 +170,6 @@ jobs:
java-version: 11
- name: Test
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v2.4.2
with:
arguments: ${{ matrix.module }}:smokeTest

2
.github/workflows/codeql-daily.yml поставляемый
Просмотреть файл

@ -23,7 +23,7 @@ jobs:
with:
languages: java
- uses: gradle/gradle-build-action@v2
- uses: gradle/gradle-build-action@v2.4.2
with:
# skipping build cache is needed so that all modules will be analyzed
arguments: assemble --no-build-cache

Просмотреть файл

@ -42,7 +42,7 @@ jobs:
env.COMMAND == 'spotless' ||
env.COMMAND == 'license' ||
env.COMMAND == 'lockfile'
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v2.4.2
with:
cache-read-only: true

Просмотреть файл

@ -20,7 +20,7 @@ jobs:
distribution: temurin
java-version: 11
- uses: gradle/gradle-build-action@v2
- uses: gradle/gradle-build-action@v2.4.2
with:
arguments: ":agent:agent:dependencyCheckAnalyze"

2
.github/workflows/pull-request-helper.yml поставляемый
Просмотреть файл

@ -21,7 +21,7 @@ jobs:
gh pr checkout $NUMBER
- name: Set up Gradle cache
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v2.4.2
with:
cache-read-only: true