Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 3 additions & 41 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,44 +7,6 @@ on:

jobs:
test:

runs-on: ubuntu-latest

strategy:
matrix:
scala:
- 3.3.8

steps:
- uses: actions/checkout@v7

- uses: coursier/cache-action@v8

- name: setup Java 17
uses: actions/setup-java@v5
with:
java-version: '17'
distribution: 'temurin'
cache: 'sbt'

- name: setup SBT
uses: sbt/setup-sbt@v1

- name: check code ${{ matrix.scala }}
run: sbt "++${{ matrix.scala }}; clean; check"

- name: build ${{ matrix.scala }}
run: sbt "++${{ matrix.scala }}; clean; coverage; test; coverageAggregate"

- name: locate coverage report
id: coverage
if: success()
run: echo "file=$(find . -path '*/coverage-report/cobertura.xml' | head -1)" >> "$GITHUB_OUTPUT"

- name: test coverage
if: success()
uses: coverallsapp/github-action@v2
with:
file: ${{ steps.coverage.outputs.file }}
format: cobertura
flag-name: Scala ${{ matrix.scala }}
uses: evolution-gaming/scala-github-actions/.github/workflows/ci.yml@e9f3a8d1d95e9ed5b762627a28a1ce93fad45f0a # v6.2.0
with:
scala_versions: '["3.3.8"]'
2 changes: 2 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ publish / skip := true

ThisBuild / scalaVersion := Version.scala

ThisBuild / versionPolicyIntention := Compatibility.BinaryCompatible

ThisBuild / organization := "com.evolution"

ThisBuild / startYear := Some(2022)
Expand Down