This repository has been archived by the owner on Sep 2, 2024. It is now read-only.
Merge pull request #75 from nothub/dependabot/github_actions/actions/… #64
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/actions/wrapper-validation@v3 | |
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' |