Skip to content

Commit

Permalink
v2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Jan 24, 2023
1 parent 58958ab commit 2f1cf31
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: dprint/check@v2.1
- uses: dprint/check@v2.2
```
If you are using a matrix, most likely you will only want to run it only on Linux. For example:
```yml
- uses: dprint/check@v2.1
- uses: dprint/check@v2.2
if: runner.os == 'Linux'
```
Expand All @@ -33,21 +33,21 @@ By default, `dprint/check` uses the latest version of dprint.
To use a specific version, specify that with the `dprint-version` input:

```yml
- uses: dprint/check@v2.1
- uses: dprint/check@v2.2
with:
dprint-version: 0.30.3
```

### Config Path

By default, `dprint/check` uses the `dprint.json`.
By default, `dprint/check` uses the auto-discovered configuration file.

### Specific Config

To use a specific config, specify that with the `config-path` input:

```yml
- uses: dprint/check@v2.1
- uses: dprint/check@v2.2
with:
config-path: dprint-ci.json
```
Expand Down

0 comments on commit 2f1cf31

Please sign in to comment.