Update scala3-library to 3.3.6 #121
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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| tags: | |
| - "v*" | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.OS }} | |
| strategy: | |
| matrix: | |
| OS: ["ubuntu-latest", "macos-latest", "windows-latest"] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - uses: coursier/cache-action@v6.3 | |
| - uses: VirtusLab/scala-cli-setup@v0.1 | |
| - name: Test | |
| run: scala-cli test ulc --cross | |
| - name: Package app | |
| run: scala-cli .github/scripts/package.sc | |
| - uses: actions/upload-artifact@v3 | |
| with: | |
| name: artifacts | |
| path: artifacts | |
| if-no-files-found: error | |
| retention-days: 2 | |
| format: | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - uses: coursier/cache-action@v6.3 | |
| - uses: VirtusLab/scala-cli-setup@v0.1 | |
| - name: Scalafmt check | |
| run: | | |
| scala-cli fmt --check ulc || ( | |
| echo "To format code run" | |
| echo " scala-cli fmt ." | |
| exit 1 | |
| ) |