Skip to content

Update play-filters-helpers, play-guice, ... to 3.0.6 (#396) #336

Update play-filters-helpers, play-guice, ... to 3.0.6 (#396)

Update play-filters-helpers, play-guice, ... to 3.0.6 (#396) #336

Workflow file for this run

name: Continious Delivery
on:
push:
branches:
- main
paths-ignore:
- version.sbt
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0
token: ${{ secrets.PUSH_PERMISSIONS_TOKEN }}
- name: Cache SBT
uses: actions/cache@v3
with:
path: |
~/.ivy2/cache
~/.sbt
key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt') }}
- name: Setup Scala
uses: actions/setup-java@v3
with:
java-version: 17
distribution: corretto
- name: Test with Coverage / Static code analyse / Code style
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
sbt \
-Dsonar.host.url=https://sonarcloud.io \
-Dsonar.organization=gastonschabas \
-Dsonar.projectKey=gastonschabas_rumble-on-scala \
-Dsonar.sources=src/main/scala \
-Dsonar.tests=src/test/scala \
-Dsonar.scala.scalastyle.reportPaths=target/scalastyle-result.xml \
-Dsonar.scala.coverage.reportPaths=target/scala-2.13/scoverage-report/scoverage.xml \
clean compile coverage test it:test coverageReport scalastyle scalafmtCheckAll scalafmtSbtCheck sonarScan
- name: Bump version and tag
run: |
git config --global user.email "gastonschabas@gmail.com"
git config --global user.name "Gastón Schabas"
sbt "release with-defaults skip-tests"