diff --git a/src/plugins/compat_helper.jl b/src/plugins/compat_helper.jl index 9a8e7cc..62ce6e4 100644 --- a/src/plugins/compat_helper.jl +++ b/src/plugins/compat_helper.jl @@ -23,7 +23,4 @@ source(p::CompatHelper) = p.file destination(p::CompatHelper) = joinpath(".github", "workflows", p.destination) tags(::CompatHelper) = "<<", ">>" -view(p::CompatHelper, t::Template, ::AbstractString) = Dict( - "CRON" => p.cron, - "VERSION" => format_version(max(v"1.3", t.julia)), -) +view(p::CompatHelper, ::Template, ::AbstractString) = Dict("CRON" => p.cron) diff --git a/templates/github/workflows/CompatHelper.yml b/templates/github/workflows/CompatHelper.yml index b421b80..324fc64 100644 --- a/templates/github/workflows/CompatHelper.yml +++ b/templates/github/workflows/CompatHelper.yml @@ -6,9 +6,6 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: julia-actions/setup-julia@latest - with: - version: <<&VERSION>> - name: Pkg.add("CompatHelper") run: julia -e 'using Pkg; Pkg.add("CompatHelper")' - name: CompatHelper.main() diff --git a/test/fixtures/AllPlugins/.github/workflows/CompatHelper.yml b/test/fixtures/AllPlugins/.github/workflows/CompatHelper.yml index a59f9d9..dadc755 100644 --- a/test/fixtures/AllPlugins/.github/workflows/CompatHelper.yml +++ b/test/fixtures/AllPlugins/.github/workflows/CompatHelper.yml @@ -6,9 +6,6 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: julia-actions/setup-julia@latest - with: - version: 1.3 - name: Pkg.add("CompatHelper") run: julia -e 'using Pkg; Pkg.add("CompatHelper")' - name: CompatHelper.main() diff --git a/test/fixtures/Basic/.github/workflows/CompatHelper.yml b/test/fixtures/Basic/.github/workflows/CompatHelper.yml index a59f9d9..dadc755 100644 --- a/test/fixtures/Basic/.github/workflows/CompatHelper.yml +++ b/test/fixtures/Basic/.github/workflows/CompatHelper.yml @@ -6,9 +6,6 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: julia-actions/setup-julia@latest - with: - version: 1.3 - name: Pkg.add("CompatHelper") run: julia -e 'using Pkg; Pkg.add("CompatHelper")' - name: CompatHelper.main() diff --git a/test/fixtures/DocumenterGitHubActions/.github/workflows/CompatHelper.yml b/test/fixtures/DocumenterGitHubActions/.github/workflows/CompatHelper.yml index a59f9d9..dadc755 100644 --- a/test/fixtures/DocumenterGitHubActions/.github/workflows/CompatHelper.yml +++ b/test/fixtures/DocumenterGitHubActions/.github/workflows/CompatHelper.yml @@ -6,9 +6,6 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: julia-actions/setup-julia@latest - with: - version: 1.3 - name: Pkg.add("CompatHelper") run: julia -e 'using Pkg; Pkg.add("CompatHelper")' - name: CompatHelper.main() diff --git a/test/fixtures/DocumenterTravis/.github/workflows/CompatHelper.yml b/test/fixtures/DocumenterTravis/.github/workflows/CompatHelper.yml index a59f9d9..dadc755 100644 --- a/test/fixtures/DocumenterTravis/.github/workflows/CompatHelper.yml +++ b/test/fixtures/DocumenterTravis/.github/workflows/CompatHelper.yml @@ -6,9 +6,6 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: julia-actions/setup-julia@latest - with: - version: 1.3 - name: Pkg.add("CompatHelper") run: julia -e 'using Pkg; Pkg.add("CompatHelper")' - name: CompatHelper.main() diff --git a/test/fixtures/WackyOptions/.github/workflows/CompatHelper.yml b/test/fixtures/WackyOptions/.github/workflows/CompatHelper.yml index cdabf12..74fe48d 100644 --- a/test/fixtures/WackyOptions/.github/workflows/CompatHelper.yml +++ b/test/fixtures/WackyOptions/.github/workflows/CompatHelper.yml @@ -6,9 +6,6 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: julia-actions/setup-julia@latest - with: - version: 1.3 - name: Pkg.add("CompatHelper") run: julia -e 'using Pkg; Pkg.add("CompatHelper")' - name: CompatHelper.main()