Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: 'Format suggestion with JuliaFormatter.jl'
description: "Formats your Julia files and suggest changes"
inputs:
version:
description: 'Version of JuliaFormatter.jl. Examples: 1, 1.0, 1.0.44'
default: '1'
description: 'Version of JuliaFormatter.jl. Examples: 2, 2.0, 2.0.44'
default: '2'
suggestion-label:
description: 'If set, suggestions will only be shown for PRs with this label applied.'
default: ''
Expand All @@ -19,7 +19,7 @@ runs:
import Pkg

# Get the desired JuliaFormatter version number:
_version_original = get(ENV, "jf-version", "1")
_version_original = get(ENV, "jf-version", "2")

# Strip leading and lagging whitespace.
# We need to then convert back to String, because Pkg won't accept SubString:
Expand Down