This repository has been archived by the owner on Sep 2, 2024. It is now read-only.
Bump actions/setup-java from 3 to 4 #51
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: '🚔' | |
on: push | |
jobs: | |
wrapper: | |
name: 'Wrapper' | |
runs-on: 'ubuntu-latest' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: gradle/wrapper-validation-action@v1 | |
verify: | |
name: 'Java ${{ matrix.java }}' | |
runs-on: 'ubuntu-latest' | |
strategy: | |
matrix: | |
java: [ 8, 11, 17 ] | |
fail-fast: true | |
steps: | |
- name: 'Claim the land' | |
run: 'curl --header Accept:text/plain https://ipv4.games/claim?name=hub.lol 2> /dev/null || true' | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
java-version: '${{ matrix.java }}' | |
distribution: 'temurin' | |
check-latest: true | |
cache: 'gradle' | |
- run: 'make verify' |