Skip to content

Commit

Permalink
Improved CI
Browse files Browse the repository at this point in the history
Changed the scala setup plugin to a maintained action.
Pipeline to check if the format is correct.
Added a cache to improve the speed in CI runs.
Updated checkout action to the latest version.
  • Loading branch information
alfonsorr committed Sep 11, 2024
1 parent 934d1fe commit e9293e2
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/ci-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,3 @@ jobs:
- name: ScalaFmt
id: fmt
run: sbt scalafmtCheckAll
continue-on-error: true
- name: Compilation or tests failed
if: ${{steps.fmt.conclusion == 'failure' }}
uses: actions/github-script@v7
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: 'The code needs to be formated. Run "sbt scalafmtAll" from the command line in the root of your project or "scalafmtAll" from the sbt cli and push again.'
})

0 comments on commit e9293e2

Please sign in to comment.