From e9293e2f305c5f6506755d1cf764c8a6004a67f5 Mon Sep 17 00:00:00 2001 From: Alfonso Roa Date: Wed, 11 Sep 2024 16:41:15 +0200 Subject: [PATCH] Improved CI 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. --- .github/workflows/ci-quality.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/ci-quality.yml b/.github/workflows/ci-quality.yml index edbb155..d3d4925 100644 --- a/.github/workflows/ci-quality.yml +++ b/.github/workflows/ci-quality.yml @@ -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.' - })