diff --git a/.github/workflows/scala.yml b/.github/workflows/scala.yml index 1c2373a..f348a97 100644 --- a/.github/workflows/scala.yml +++ b/.github/workflows/scala.yml @@ -24,15 +24,20 @@ jobs: steps: - uses: actions/checkout@v3 - name: Install libuv - run: sudo apt-get install libuv1-dev + run: | + if [ "$RUNNER-OS" == "Linux" ]; then + sudo apt-get install --yes libuv1-dev + elif [ "$RUNNER-OS" == "macOS" ]; then + brew install libuv + elif [ "$RUNNER-OS" == "Windows" ]; then + choco install libuv + fi - name: Set up JDK 21 uses: actions/setup-java@v3 with: java-version: '21' distribution: 'temurin' cache: 'sbt' - - name: Check directory - run: pwd && ls -la src/test/resources - name: Run tests run: sbt test # Optional: This step uploads information to the GitHub dependency graph and unblocking Dependabot alerts for the repository