Add --debug-importer flag to print out what the default importer is d… #655
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: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| lang: ['jvm', 'js', 'native'] | |
| java: ['17', '21'] | |
| env: | |
| # Set LANG=C to simulate least-common-denominator target deployment environments: | |
| LANG: C | |
| name: Sjsonnet build for ${{ matrix.lang }} on JDK ${{ matrix.java }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK ${{ matrix.java }} | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: ${{ matrix.java }} | |
| distribution: 'zulu' | |
| cache: sbt | |
| - uses: sbt/setup-sbt@v1 | |
| - name: Check Formating | |
| run: ./mill _.${{ matrix.lang }}[_].__.checkFormat | |
| - name: Compile with mill | |
| run: ./mill _.${{ matrix.lang }}[_].__.compile | |
| - name: Run mill tests for ${{ matrix.lang }} | |
| run: ./mill _.${{ matrix.lang }}[_].__.test | |
| - name: Compile with sbt | |
| if: ${{ matrix.lang == 'jvm' }} | |
| run: sbt compile bench/compile bench/jmh:compile | |
| - name: Run sbt tests | |
| if: ${{ matrix.lang == 'jvm' }} | |
| run: sbt test |