From e64ec19eac40574f63e857d7f69ae0be38676df7 Mon Sep 17 00:00:00 2001 From: t-bltg Date: Wed, 20 Oct 2021 13:08:56 +0200 Subject: [PATCH] Fix formatting src/precompile_includer.jl --- .github/workflows/SnoopCompile.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/SnoopCompile.yml b/.github/workflows/SnoopCompile.yml index 814d19eb..01d73ee8 100644 --- a/.github/workflows/SnoopCompile.yml +++ b/.github/workflows/SnoopCompile.yml @@ -69,7 +69,10 @@ jobs: uses: actions/download-artifact@v2 - name: CompileBot postprocess - run: julia -e 'using Pkg; Pkg.add( PackageSpec(name = "CompileBot", version = "1") ); using CompileBot; CompileBot.postprocess();' + run: | + ls + if ! grep -m1 -q 'format' src/precompile_includer.jl; then sed -i '1 i\#! format: off' src/precompile_includer.jl; fi + julia -e 'using Pkg; Pkg.add( PackageSpec(name = "CompileBot", version = "1") ); using CompileBot; CompileBot.postprocess();' - name: Create Pull Request uses: peter-evans/create-pull-request@v3