Update scala3-library to 3.3.4 #115
This file contains 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/[email protected] | |
- uses: VirtusLab/[email protected] | |
- 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/[email protected] | |
- uses: VirtusLab/[email protected] | |
- name: Scalafmt check | |
run: | | |
scala-cli fmt --check ulc || ( | |
echo "To format code run" | |
echo " scala-cli fmt ." | |
exit 1 | |
) |