Skip to content

Merge branch 'chore-add-scala-github-actions' into development #1

Merge branch 'chore-add-scala-github-actions' into development

Merge branch 'chore-add-scala-github-actions' into development #1

Workflow file for this run

name: Scala CI
on:
push:
branches:
- main
- development
pull_request:
branches:
- main
- development
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run tests
run: sbt coverageOn coverage test
- name: Coverage Report
run: sbt coverageReport
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Formatting
run: sbt scalafmtSbtCheck scalafmtCheck test:scalafmtCheck
dependency-graph:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Update Dependency Graph
uses: scalacenter/sbt-dependency-submission@v3
permissions:
contents: write