Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix formatter to older version #1843

Merged
merged 6 commits into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
2 changes: 1 addition & 1 deletion .github/workflows/FormatCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
# TODO: Change the call below to
# format(".")
run: |
julia -e 'using Pkg; Pkg.add(PackageSpec(name = "JuliaFormatter"))'
julia -e 'using Pkg; Pkg.add(PackageSpec(name = "JuliaFormatter", version="1.0.45"))'
julia -e 'using JuliaFormatter; format(["benchmark", "examples", "ext", "src", "test", "utils"])'
- name: Format check
run: |
Expand Down
2 changes: 1 addition & 1 deletion utils/trixi-format-file.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

using Pkg
Pkg.activate(; temp = true, io = devnull)
Pkg.add("JuliaFormatter"; preserve = PRESERVE_ALL, io = devnull)
Pkg.add("JuliaFormatter"; version="1.0.45", preserve = PRESERVE_ALL, io = devnull)
ranocha marked this conversation as resolved.
Show resolved Hide resolved

using JuliaFormatter: format_file

Expand Down
2 changes: 1 addition & 1 deletion utils/trixi-format.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

using Pkg
Pkg.activate(; temp = true, io = devnull)
Pkg.add("JuliaFormatter"; preserve = PRESERVE_ALL, io = devnull)
Pkg.add("JuliaFormatter"; version="1.0.45", preserve = PRESERVE_ALL, io = devnull)
ranocha marked this conversation as resolved.
Show resolved Hide resolved

using JuliaFormatter: format

Expand Down
Loading