chore(compiler): add top-level object dependency regression test #476
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: Miscellaneous Tests | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| pull_request: | |
| workflow_call: | |
| permissions: | |
| contents: read | |
| env: | |
| DOTTY_CI_RUN: true | |
| jobs: | |
| scripted-tests: | |
| name: scripted-tests (${{ matrix.jdk }}) | |
| if: github.event_name != 'pull_request' || !contains(github.event.pull_request.body, '[skip ci]') | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - jdk: 17 | |
| command: scala3-bootstrapped/scripted | |
| - jdk: 25 | |
| command: scala3-bootstrapped/scripted sbt-bridge/main-discovery sbt-bridge/main-discovery-scalajs | |
| steps: | |
| - name: Git Checkout | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Set up JDK ${{ matrix.jdk }} | |
| uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95 # v5.6.0 | |
| with: | |
| distribution: 'temurin' | |
| java-version: ${{ matrix.jdk }} | |
| cache: 'sbt' | |
| - uses: sbt/setup-sbt@bfea3c5f48abd221b04a6df4798aa5eb8b6a2baf # v1.5.6 | |
| - name: Run SBT scripted tests | |
| run: ./project/scripts/sbt "${{ matrix.command }}" | |
| test-bisect-script: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - uses: coursier/cache-action@95e5b1029b6b86e7bac033ee44a0697d8a527d2d # v8.1.1 | |
| - uses: VirtusLab/scala-cli-setup@8db5313925605c20e292348c1749e80dac7eed0f # v1.16.0 | |
| with: | |
| jvm: temurin:17 | |
| - name: Run bisect script tests | |
| run: scala-cli test project/scripts/bisect.test.scala |