Update to 1.21.4: "Creating Your First Item" #3008
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: Build | |
on: [push, pull_request] | |
concurrency: | |
group: build-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
docs: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
- run: npm i | |
- run: npm run build | |
mod: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: "microsoft" | |
java-version: "21" | |
- run: ./gradlew build --stacktrace --warning-mode fail | |
working-directory: ./reference | |
- run: ./gradlew runDatagen --stacktrace --warning-mode fail | |
working-directory: ./reference | |
- name: Check resources | |
run: | | |
git status | |
if [ -n "$(git status --porcelain)" ]; then exit 1; fi | |
- uses: Juuxel/publish-checkstyle-report@v1 | |
if: ${{ failure() }} | |
with: | |
reports: | | |
reference/**/build/reports/checkstyle/*.xml |