diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml new file mode 100644 index 0000000..5f42779 --- /dev/null +++ b/.github/workflows/CompatHelper.yml @@ -0,0 +1,44 @@ +name: CompatHelper +on: + schedule: + - cron: 0 0 * * * + workflow_dispatch: +permissions: + contents: write + pull-requests: write +jobs: + CompatHelper: + runs-on: ubuntu-latest + steps: + - name: Check if Julia is already available in the PATH + id: julia_in_path + run: which julia + continue-on-error: true + - name: Install Julia, but only if it is not already available in the PATH + uses: julia-actions/setup-julia@v2 + with: + version: '1' + arch: ${{ runner.arch }} + if: steps.julia_in_path.outcome != 'success' + - name: "Add the General registry via Git" + run: | + import Pkg + ENV["JULIA_PKG_SERVER"] = "" + Pkg.Registry.add("General") + shell: julia --color=yes {0} + - name: "Install CompatHelper" + run: | + import Pkg + name = "CompatHelper" + uuid = "aa819f21-2bde-4658-8897-bab36330d9b7" + version = "3" + Pkg.add(; name, uuid, version) + shell: julia --color=yes {0} + - name: "Run CompatHelper" + run: | + import CompatHelper + CompatHelper.main() + shell: julia --color=yes {0} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }} diff --git a/Project.toml b/Project.toml index abf95c3..c6ae00e 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "GridVisualize" uuid = "5eed8a63-0fb0-45eb-886d-8d5a387d12b8" -version = "1.15.0" +version = "1.15.1" authors = ["Juergen Fuhrmann ", "Patrick Jaap "] [deps] @@ -27,6 +27,7 @@ Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" PlutoVista = "646e1f28-b900-46d7-9d87-d554eb38a413" PyPlot = "d330b81b-6aea-500a-939a-2ce795aea3ee" VTKView = "955f2c64-5fd0-11e9-0ad0-3332e913311a" +Triangulate = "f7e6ffb2-c36d-4f8f-a77e-16e897189344" [extensions] GridVisualizeMakieExt = "Makie" @@ -48,7 +49,7 @@ HypertextLiteral = "0.9" Interpolations = "0.14, 0.15" IntervalSets = "0.7" LinearAlgebra = "1.6" -Makie = "0.21, 0.22.10, 0.23" +Makie = "0.21, 0.22.10, 0.23, 0.24" MeshCat = "1" Observables = "0.5" OrderedCollections = "1" @@ -57,7 +58,7 @@ PlutoVista = "0.8.24,1" Printf = "1.6" PyPlot = "2" StaticArrays = "1" -Triangulate = "2" +Triangulate = "2, 3" VTKView = "0.1,0.2" julia = "1.9"