diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 23dcc84..d227220 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -12,16 +12,12 @@ jobs: fail-fast: false matrix: version: - - '1.6' - - 'lts' + - 1.11 - 'pre' os: - ubuntu-latest - macOS-latest - windows-latest - exclude: - - version: '1.6' - os: macOS-latest steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2 @@ -45,21 +41,21 @@ jobs: file: lcov.info token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: false # or true if you want CI to fail when Codecov fails - docs: - name: Documentation - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@v2 - with: - version: 'lts' - - run: | - julia --project=docs -e ' - import Pkg; Pkg.add("Documenter") - using Pkg - Pkg.develop(PackageSpec(path=pwd())) - Pkg.instantiate()' - - run: julia --project=docs docs/make.jl - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} \ No newline at end of file + # docs: + # name: Documentation + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v4 + # - uses: julia-actions/setup-julia@v2 + # with: + # version: '1.11' + # - run: | + # julia --project=docs -e ' + # import Pkg; Pkg.add("Documenter") + # using Pkg + # Pkg.develop(PackageSpec(path=pwd())) + # Pkg.instantiate()' + # - run: julia --project=docs docs/make.jl + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} \ No newline at end of file diff --git a/.github/workflows/Documenter.yml b/.github/workflows/Documenter.yml deleted file mode 100644 index 3d3db55..0000000 --- a/.github/workflows/Documenter.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Documentation - -on: - push: - branches: - - master - tags: '*' - pull_request: - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@latest - with: - version: '1.10' - - name: Build and deploy - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - julia --project -e ' - println("--- :julia: Instantiating project") - using Pkg - Pkg.instantiate() - Pkg.activate("docs") - Pkg.instantiate() - push!(LOAD_PATH, @__DIR__) - - println("+++ :julia: Building documentation") - include("docs/make.jl")' diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index dbbc9ab..5b95819 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2 with: - version: '1' + version: '1.11' - uses: julia-actions/cache@v2 - name: Install dependencies run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' diff --git a/docs/Project.toml b/docs/Project.toml index 535383d..f22370f 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -11,8 +11,8 @@ SpinGlassPEPS = "2c514f87-1261-494e-8566-326879aaf4fe" SpinGlassTensors = "7584fc6a-5a23-4eeb-8277-827aab0146ea" [compat] -Documenter = "1.4.0" -DocumenterTools = "0.1.19" +Documenter = "1.8.0" +DocumenterTools = "0.1.20" Graphs = "1.9.0" LabelledGraphs = "0.4.4" MetaGraphs = "0.7.2"