Update dependency net.neoforged:neoform-runtime to v1.0.43 (main) #653
Workflow file for this run
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
| # File generated by the GradleUtils `setupGitHubActionsWorkflows` task, avoid modifying it directly | |
| # The template can be found at https://github.com/neoforged/GradleUtils/blob/a65628b0c89dec60b357ce3f8f6bfa62934b8357/src/actionsTemplate/resources/.github/workflows/build-prs.yml | |
| name: Build and test PRs | |
| on: | |
| pull_request: | |
| types: | |
| - synchronize | |
| - opened | |
| - ready_for_review | |
| - reopened | |
| push: | |
| branches: | |
| - 'feature/**' | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| name: Build | |
| uses: neoforged/actions/.github/workflows/build-prs.yml@main | |
| with: | |
| java: 17 | |
| gradle_tasks: check | |
| jar_compatibility: false | |
| test-project: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| project: [testproject, legacytest] | |
| runs-on: ${{ matrix.os }} | |
| name: Test ${{ matrix.project }} on ${{ matrix.os }} | |
| steps: | |
| - name: Checkout project sources | |
| uses: neoforged/actions/checkout@main | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: microsoft | |
| java-version: 21 | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v3 | |
| - name: Setup Minecraft Assets Cache | |
| uses: neoforged/actions-modding/minecraft-assets-cache/use@v1 | |
| - name: Run build | |
| run: ./gradlew build neoForgeIdeSync publish | |
| working-directory: ./${{ matrix.project }} | |
| - name: Ensure clean, build and test work in the same run | |
| run: ./gradlew clean build check | |
| working-directory: ./${{ matrix.project }} | |
| - name: Ensure runData runs | |
| run: ./gradlew runData | |
| working-directory: ./${{ matrix.project }} |