diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 12cd79ad..a8db2c3e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,7 +64,9 @@ jobs: if: ${{ steps.cache-julia.outputs.cache-hit != 'true' }} env: PYTHON: ${{ env.pythonLocation }}/python - run: julia --color=yes instantiate.jl + run: | + julia --color=yes -e 'using Pkg; Pkg.add(["PrettyTables", "Literate"])' + julia --color=yes --project=@. -e 'using Pkg; Pkg.instantiate(); Pkg.precompile()' - name: Save Julia packages uses: actions/cache/save@v4 if: ${{ steps.cache-julia.outputs.cache-hit != 'true' }} diff --git a/instantiate.jl b/instantiate.jl deleted file mode 100644 index 825e2824..00000000 --- a/instantiate.jl +++ /dev/null @@ -1,6 +0,0 @@ -using Pkg, Dates -Pkg.add(["PrettyTables", "Literate"]) -Pkg.activate(".") -Pkg.instantiate() -Pkg.precompile() -Pkg.gc(collect_delay=Day(0))