chore(deps): update dependency scalafmt to v3.8.4 #571
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cucumber Scala CI | |
on: | |
workflow_call: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
- renovate/** | |
jobs: | |
build: | |
name: Build and test | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest ] | |
java: | |
- 8.0 | |
- 11 | |
- 17 | |
- 21 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cache sbt | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.sbt | |
~/.ivy2/cache | |
~/.cache/coursier | |
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: 'adopt' | |
- uses: sbt/setup-sbt@v1 | |
- name: Formatting check | |
run: sbt scalafmtCheckAll | |
- name: Run tests | |
run: sbt +compile +test | |