Skip to content

Commit

Permalink
Completed CI
Browse files Browse the repository at this point in the history
  • Loading branch information
reynaldjoabet committed Jan 3, 2024
1 parent 6c37fa8 commit 109603c
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 6 deletions.
48 changes: 43 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ name: Scala CI

on:
pull_request:
types: [opened, closed,reopened]
types: [opened, closed,reopened,edited]
branches: [ "main" ] #["*"]
push:
branches: [ main ]
branches: ["main"]

jobs:
build:
build_bloop:
name: Build Project
strategy:
matrix:
Expand All @@ -30,8 +30,46 @@ jobs:
- uses: VirtusLab/scala-cli-setup@main
with:
jvm: temurin:17
apps: sbtn bloop sbt
- run: scala-cli test .
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
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ postgres-data

#general
*.class
/.scala-build
.scala-build/
/kafka/logs

/scala2-examples/target/
Expand Down

0 comments on commit 109603c

Please sign in to comment.