You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2025/04/14 22:51:16 UTC
(groovy) 02/05: add rat workflow
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch GROOVY_4_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
commit 05f84ce9e2a2458f76b0403a00bf8fc5e990c3d2
Author: Paul King <pa...@asert.com.au>
AuthorDate: Tue Apr 15 08:14:23 2025 +1000
add rat workflow
---
...{groovy-build-test-19.yml => groovy-rat-check.yml} | 19 ++++++++-----------
1 file changed, 8 insertions(+), 11 deletions(-)
diff --git a/.github/workflows/groovy-build-test-19.yml b/.github/workflows/groovy-rat-check.yml
similarity index 76%
rename from .github/workflows/groovy-build-test-19.yml
rename to .github/workflows/groovy-rat-check.yml
index 44773f0d95..0cd7286518 100644
--- a/.github/workflows/groovy-build-test-19.yml
+++ b/.github/workflows/groovy-rat-check.yml
@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-name: Build and test 19
+name: Check licenses
on: [push, pull_request]
@@ -25,21 +25,18 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [ubuntu-20.04]
+ os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
steps:
- - uses: actions/checkout@v3
- - name: Set up JDKs
- uses: actions/setup-java@v3
+ - uses: actions/checkout@v4
+ - uses: actions/setup-java@v4
with:
distribution: 'zulu'
- java-version: |
- 19
- 17
+ java-version: 21
check-latest: true
- - uses: gradle/gradle-build-action@v2
- - name: Test with Gradle
- run: ./gradlew test -Ptarget.java.home=${{ env.JAVA_HOME_19_X64 }}
+ - uses: gradle/actions/setup-gradle@v4
+ - name: Check licenses with rat
+ run: ./gradlew rat
timeout-minutes: 60