fix: resolve compilation errors across modules (#97) #86
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: Scala CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: ["master"] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: ubuntu-latest | |
| java: 8 | |
| - os: ubuntu-latest | |
| java: 11 | |
| - os: ubuntu-latest | |
| java: 17 | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: ${{ matrix.java }} | |
| cache: sbt | |
| - uses: sbt/setup-sbt@v1 | |
| - name: Create header and format check | |
| run: sbt headerCreateAll scalafmtCheckAll | |
| - name: Build and Test with Coverage | |
| run: sbt clean coverage test coverageReport coverageAggregate | |
| - name: Upload coverage reports to Codecov | |
| if: matrix.java == 11 | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| slug: eff3ct0/teckel | |
| files: target/scala-*/scoverage-report/scoverage.xml | |
| fail_ci_if_error: true | |
| - name: Upload test results | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-results-java-${{ matrix.java }} | |
| path: target/test-reports | |
| docker: | |
| runs-on: ubuntu-latest | |
| needs: build | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build Docker image | |
| run: docker build -t teckel:test . |