Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bltg committed Nov 12, 2024
1 parent d74d9ce commit 5af066f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/format_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@latest
- name: Format Julia files
- name: format Julia files
run: |
julia --color=yes -e '
using Pkg
Pkg.add("JuliaFormatter")
format(["RecipesBase", "RecipesPipeline", "PlotsBase", "src", "test", "GraphRecipes", "StatsPlots", "PlotThemes"])
'
- name: suggester / JuliaFormatter
if: success() && github.ref == 'refs/heads/master'
- name: suggester
if: success() && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/v2' )
uses: reviewdog/action-suggester@v1
with:
tool_name: JuliaFormatter
fail_on_error: true

# reviewdog/action-suggester not using `cleanup` flag?
- name: Cleanup
- name: cleanup
if: success() || failure()
run: |
git checkout -- .
Expand Down

0 comments on commit 5af066f

Please sign in to comment.