From 3af95419a99cbcaf34ea0f14d0c3bc198b02f47e Mon Sep 17 00:00:00 2001 From: Penelope Yong Date: Tue, 18 Mar 2025 12:50:25 +0000 Subject: [PATCH] use TuringLang/actions/Format --- .github/workflows/Format.yml | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/.github/workflows/Format.yml b/.github/workflows/Format.yml index efe1fe225..259e056c7 100644 --- a/.github/workflows/Format.yml +++ b/.github/workflows/Format.yml @@ -17,20 +17,7 @@ concurrency: jobs: format: runs-on: ubuntu-latest + steps: - - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@v2 - with: - version: 1 - name: Format code - run: | - using Pkg - Pkg.add(; name="JuliaFormatter", uuid="98e50ef6-434e-11e9-1051-2b60c6c9e899") - using JuliaFormatter - format("."; verbose=true) - shell: julia --color=yes {0} - - uses: reviewdog/action-suggester@v1 - if: github.event_name == 'pull_request' - with: - tool_name: JuliaFormatter - fail_on_error: true + uses: TuringLang/actions/Format@main