Skip to content

Scalafmt on WX-1395

Scalafmt on WX-1395 #6

Workflow file for this run

name: 'Scalafmt'
#This github action runs the scalafmt linting tool on the entire codebase.
# It fails if any files are not formatted properly.
run-name: ${{ format('Scalafmt on {0}', github.ref_name) }}
on:
workflow_dispatch:
push:
permissions:
contents: read
jobs:
run-scalafmt:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
with:
ref: ${{ inputs.target-branch }}
- uses: ./.github/set_up_cromwell_action
with:
cromwell_repo_token: ${{ secrets.BROADBOT_GITHUB_TOKEN }}
- name: Run Scalafmt
run: |
sbt scalafmtCheckAll