Skip to content

Commit

Permalink
release v1.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: muraca <[email protected]>
  • Loading branch information
muraca committed Oct 3, 2023
1 parent ba1d58d commit 71866a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,21 @@ toml-sort --check [files]

This will only check `./Cargo.toml`:
```yaml
- uses: Off-Narrative-Labs/toml_sort
- uses: Off-Narrative-Labs/toml_sort@v1
```
If you want the action to check all the TOML files, then you can use:
```yaml
- uses: Off-Narrative-Labs/toml_sort
- uses: Off-Narrative-Labs/toml_sort@v1
with:
all: true
```
In alternative, if you want to check only a certain set of files:
```yaml
- uses: Off-Narrative-Labs/toml_sort
- uses: Off-Narrative-Labs/toml_sort@v1
with:
files: Cargo.toml foo/Cargo.toml bar/Cargo.toml
```
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ runs:
steps:
- name: "Installing TOML Sort"
shell: "bash"
run: curl https://github.com/Off-Narrative-Labs/toml_sort/releases/download/v0.1.0/toml-sort-x86_64-unknown-linux-gnu.tar.gz -L | tar -xz
run: curl https://github.com/Off-Narrative-Labs/toml_sort/releases/download/v1.0.0/toml-sort-x86_64-unknown-linux-gnu.tar.gz -L | tar -xz
- if: ${{ inputs.all }}
name: "Running TOML Sort check on all TOML files starting from current directory"
shell: "bash"
Expand Down

0 comments on commit 71866a2

Please sign in to comment.