Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/webpack-5.76.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jrouly authored Jan 1, 2024
2 parents 4c1db35 + 482f40a commit 62e7b26
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ By using the native scalafmt image, this action typically completes in two to th
## Usage

```yaml
- uses: jrouly/scalafmt-native-action@v2
- uses: jrouly/scalafmt-native-action@v3
with:
# Optional: Which version of scalafmt-native to use.
# Default: read from .scalafmt.conf, otherwise '3.5.8'
version: '3.5.8'
# Default: Read from .scalafmt.conf, otherwise '3.7.17'.
# Note: If .scalafmt.conf is not located in the repository root,
# you must specify the version here.
version: '3.7.17'

# Optional: Arguments to be passed to scalafmt-native.
# Default: --list
Expand All @@ -32,7 +34,7 @@ If any non-conforming files are present, they will be printed and the command wi
Otherwise it will silently exit with success.

```yaml
- uses: jrouly/scalafmt-native-action@v2
- uses: jrouly/scalafmt-native-action@v3
```

#### OS compatibility
Expand Down

0 comments on commit 62e7b26

Please sign in to comment.