Tuple ops, containsonlny, mapAs #122
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: Run CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| lint: | |
| name: Scalafmt | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup coursier cache | |
| uses: coursier/cache-action@v8.1 | |
| - uses: VirtusLab/scala-cli-setup@v1 | |
| - name: Check formatting | |
| run: scala-cli --power fmt --check . | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup coursier cache | |
| uses: coursier/cache-action@v8.1 | |
| - uses: VirtusLab/scala-cli-setup@v1 | |
| - name: Run tests | |
| run: scala-cli --power test . -O -coverage-out:./.scoverage | |
| - name: Generate coverage | |
| run: scala-cli .scoverage/report.sc | |
| - uses: codecov/codecov-action@v5 | |
| with: | |
| fail_ci_if_error: true | |
| files: .scoverage/report/cobertura.xml | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| - name: Test documentation | |
| run: scala-cli --power doc . |