Skip to content

Commit

Permalink
Merge branch 'chore-add-scala-github-actions' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
dutrevis committed May 23, 2024
2 parents eb0ad1d + fab3058 commit f7d3d43
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/scala.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
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

0 comments on commit f7d3d43

Please sign in to comment.