Prime Loom mappings before strict CI verification #6
This file contains hidden or 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: CI | |
| "on": | |
| push: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test-and-build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Check out source | |
| uses: actions/checkout@v4 | |
| - name: Set up Java toolchains | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: | | |
| 21 | |
| 25 | |
| cache: gradle | |
| - name: Validate Gradle wrapper | |
| uses: gradle/actions/wrapper-validation@v4 | |
| - name: Prepare platform-generated mappings | |
| run: | | |
| ./gradlew help --dependency-verification lenient | |
| find ~/.gradle/caches/fabric-loom -type f \ | |
| -name 'mappings-layered+hash.2198.jar' -exec sha256sum {} \; | |
| - name: Test and build | |
| run: ./gradlew :test :common:test :platform-26.2:test build |