Skip to content

Completed CI

Completed CI #2

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# we use needs keyword to create dependency between jobs

Check failure on line 5 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
name: Scala CI
on:
pull_request:
types: [opened, closed,reopened,edited]
branches: [ "main" ] #["*"]
push:
branches: ["main"]
jobs:
build_bloop:
name: Build Project
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest"]
scala: [2.13.12,3.3.0]
java: [temurin@17]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: coursier/cache-action@v6
- uses: VirtusLab/scala-cli-setup@main
with:
jvm: temurin:17
apps: bloop sbt
- run: bloop compile scala2-examples scala3-examples
build_sbt:
name: Build Project
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest"]
scala: [2.13.12,3.3.0]
java: [temurin@17]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: coursier/cache-action@v6
- uses: VirtusLab/scala-cli-setup@main
with:
jvm: temurin:17
apps: sbtn sbt
- run: sbt compile
build_scala_cli:
name: Build Project
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest"]
scala: [2.13.12,3.3.0]
java: [temurin@17]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: coursier/cache-action@v6
- uses: VirtusLab/scala-cli-setup@main
with:
jvm: temurin:17
apps: sbtn
- run: scala-cli compile
scala-steward:
needs: build
runs-on: ubuntu-latest
name: Launch Scala Steward
steps:
- name: Launch Scala Steward
#uses: scala-steward-org/scala-steward-action@v2
#with: