chore(compiler): add top-level object dependency regression test #8397
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: Compile Full Standard Library | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| pull_request: | |
| workflow_call: | |
| permissions: | |
| contents: read | |
| env: | |
| DOTTY_CI_RUN: true | |
| jobs: | |
| test-scala-library-nonbootstrapped: | |
| if: github.event_name != 'pull_request' || !contains(github.event.pull_request.body, '[skip ci]') | |
| name: Non-Bootstrapped Library Unit Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95 # v5.6.0 | |
| with: | |
| distribution: 'temurin' | |
| java-version: 17 | |
| cache: 'sbt' | |
| - uses: sbt/setup-sbt@bfea3c5f48abd221b04a6df4798aa5eb8b6a2baf # v1.5.6 | |
| - run: ./project/scripts/sbt scala-library-nonbootstrapped/test | |
| test-scala-library-bootstrapped: | |
| if: github.event_name != 'pull_request' || !contains(github.event.pull_request.body, '[skip ci]') | |
| name: Bootstrapped Library Unit Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95 # v5.6.0 | |
| with: | |
| distribution: 'temurin' | |
| java-version: 17 | |
| cache: 'sbt' | |
| - uses: sbt/setup-sbt@bfea3c5f48abd221b04a6df4798aa5eb8b6a2baf # v1.5.6 | |
| - run: ./project/scripts/sbt scala-library-bootstrapped/test | |
| scala-library-docs: | |
| if: github.event_name != 'pull_request' || !contains(github.event.pull_request.body, '[skip ci]') | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Git Checkout | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95 # v5.6.0 | |
| with: | |
| distribution: 'temurin' | |
| java-version: 17 | |
| cache: 'sbt' | |
| - uses: sbt/setup-sbt@bfea3c5f48abd221b04a6df4798aa5eb8b6a2baf # v1.5.6 | |
| - name: Generate Documentation of the Standard Library | |
| run: ./project/scripts/sbt scala-library-bootstrapped/doc |