Bump to snapshot #1184
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
| name: Pull Request Validation | |
| on: | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build-jvm: | |
| runs-on: ubuntu-22.04 | |
| name: Sjsonnet jvm build | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: 21 | |
| distribution: 'zulu' | |
| cache: sbt | |
| - uses: sbt/setup-sbt@v1 | |
| - name: Cache Coursier cache | |
| uses: coursier/cache-action@90c37294538be80a558fd665531fcdc2b467b475 # 8.1.0 | |
| - name: Check Formatting | |
| run: ./mill "_.jvm[_].__.checkFormat" | |
| - name: Run mill tests | |
| timeout-minutes: 15 | |
| run: ./mill "_.jvm[_].__.test" | |
| - name: Run sbt tests | |
| timeout-minutes: 15 | |
| run: sbt test | |
| build-graal: | |
| runs-on: ubuntu-22.04 | |
| name: Sjsonnet Graal Native build | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: 21 | |
| distribution: 'zulu' | |
| - name: Cache Coursier cache | |
| uses: coursier/cache-action@90c37294538be80a558fd665531fcdc2b467b475 # 8.1.0 | |
| - name: Run Native Image Test Suites | |
| timeout-minutes: 15 | |
| run: sjsonnet/test/graalvm/run_test_suites.py | |
| build-other: | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| lang: ['js', 'wasm', 'native'] | |
| name: Sjsonnet ${{ matrix.lang }} build | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: 21 | |
| distribution: 'zulu' | |
| cache: sbt | |
| - uses: sbt/setup-sbt@v1 | |
| - name: Set up Node.js 24 | |
| if: ${{ matrix.lang == 'js' || matrix.lang == 'wasm' }} | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '24' | |
| - name: Cache Coursier cache | |
| uses: coursier/cache-action@90c37294538be80a558fd665531fcdc2b467b475 # 8.1.0 | |
| - name: Check Formatting | |
| run: ./mill _.${{ matrix.lang }}[_].__.checkFormat | |
| - name: Run mill tests for ${{ matrix.lang }} | |
| timeout-minutes: 15 | |
| run: ./mill _.${{ matrix.lang }}[_].__.test |