pekko/.github/workflows/format.yml
PJ Fanning 494d62515e
update github actions due to warnings about nodejs version (#53)
* update github actions due to warnings about nodejs version

* use sbtx instead of sbt because sbtx supports -jvm-opts
2022-11-17 12:51:24 +01:00

24 lines
505 B
YAML

name: Scalafmt
permissions: read-all
on:
pull_request:
branches: ['**']
jobs:
build:
name: Code is formatted
runs-on: ubuntu-latest
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
- name: Check project is formatted
uses: jrouly/scalafmt-native-action@v2
with:
version: '3.6.1'
arguments: '--list --mode diff-ref=origin/main'