From 286ee849f457d2e32e036dcd13120525117adfbc Mon Sep 17 00:00:00 2001 From: Lukas Devos Date: Fri, 22 Nov 2024 10:31:24 -0500 Subject: [PATCH 1/9] Update template to use organization actions --- templates/github/.github/workflows/CI.yml | 84 +++++-------------- .../.github/workflows/Documentation.yml | 20 +++++ .../github/.github/workflows/FormatCheck.yml | 36 ++------ .../.github/workflows/LiterateCheck.yml | 40 ++------- 4 files changed, 57 insertions(+), 123 deletions(-) create mode 100644 templates/github/.github/workflows/Documentation.yml diff --git a/templates/github/.github/workflows/CI.yml b/templates/github/.github/workflows/CI.yml index d6505b2..a75f935 100644 --- a/templates/github/.github/workflows/CI.yml +++ b/templates/github/.github/workflows/CI.yml @@ -2,78 +2,40 @@ name: CI on: push: branches: - - main - tags: ['*'] + - 'master' + - 'main' + - 'release-' + tags: '*' + paths-ignore: + - 'docs/**' pull_request: workflow_dispatch: + concurrency: - # Skip intermediate builds: always. - # Cancel intermediate builds: only if it is a pull request build. group: ${{ github.workflow }}-${{ github.ref }} + # Cancel intermediate builds: only if it is a pull request build. cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} + jobs: - test: - name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - runs-on: ${{ matrix.os }} - timeout-minutes: 60 - permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created - actions: write - contents: read + tests: + name: "Tests" strategy: fail-fast: false matrix: version: - - 'lts' - - '1' + - 'lts' # minimal supported version + - '1' # latest released Julia version + # group: + # - 'core' + # - 'optional' os: - ubuntu-latest - macOS-latest - windows-latest - arch: - - x64 - steps: - - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@v2 - with: - version: ${{ matrix.version }} - arch: ${{ matrix.arch }} - - uses: julia-actions/cache@v2 - - uses: julia-actions/julia-buildpkg@v1 - - uses: julia-actions/julia-runtest@v1 - - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v5 - with: - files: lcov.info - token: ${{ secrets.CODECOV_TOKEN }} - fail_ci_if_error: false - docs: - name: Documentation - runs-on: ubuntu-latest - permissions: - actions: write # needed to allow julia-actions/cache to proactively delete old caches that it has created - contents: write - statuses: write - steps: - - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@v2 - with: - version: '1' - - uses: julia-actions/cache@v2 - - name: Configure doc environment - shell: julia --project=docs --color=yes {0} - run: | - using Pkg - Pkg.develop(PackageSpec(path=pwd())) - Pkg.instantiate() - - uses: julia-actions/julia-buildpkg@v1 - - uses: julia-actions/julia-docdeploy@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} - - name: Run doctests - shell: julia --project=docs --color=yes {0} - run: | - using Documenter: DocMeta, doctest - using {PKGNAME} - DocMeta.setdocmeta!({PKGNAME}, :DocTestSetup, :(using {PKGNAME}); recursive=true) - doctest({PKGNAME}) + uses: "ITensor/JuliaActions/workflows/tests.yml@main" + with: + group: "${{ matrix.group }}" + julia-version: "${{ matrix.version }}" + os: "${{ matrix.os }}" + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/templates/github/.github/workflows/Documentation.yml b/templates/github/.github/workflows/Documentation.yml new file mode 100644 index 0000000..fb96698 --- /dev/null +++ b/templates/github/.github/workflows/Documentation.yml @@ -0,0 +1,20 @@ +name: "Documentation" + +on: + push: + branches: + - main + tags: '*' + pull_request: + schedule: + - cron: '1 4 * * 4' + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch || github.ref != 'refs/tags/v*' }} + +jobs: + build-and-deploy-docs: + name: "Documentation" + uses: "ITensor/JuliaActions/workflows/documentation.yml@main" + secrets: "inherit" diff --git a/templates/github/.github/workflows/FormatCheck.yml b/templates/github/.github/workflows/FormatCheck.yml index bb6d933..bbb0202 100644 --- a/templates/github/.github/workflows/FormatCheck.yml +++ b/templates/github/.github/workflows/FormatCheck.yml @@ -1,35 +1,13 @@ -name: Format check +name: "Format Check" + on: push: - branches: [main] - tags: [v*] + branches: + - 'main' + tags: '*' pull_request: jobs: - format: + format-check: name: "Format Check" - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@v2 - with: - version: 1 - - name: Install JuliaFormatter and format - run: | - julia -e 'using Pkg; Pkg.add(PackageSpec(name="JuliaFormatter"))' - julia -e 'using JuliaFormatter; format(".", verbose=true)' - - name: Check format - run: | - julia -e ' - out = Cmd(`git diff --name-only`) |> read |> String - if out == "" - exit(0) - else - @error "The following files have not been formatted:" - write(stdout, out) - out_diff = Cmd(`git diff`) |> read |> String - @error "Diff:" - write(stdout, out_diff) - exit(1) - @error "" - end' + uses: "ITensor/JuliaActions/workflows/FormatCheck.yml@main" diff --git a/templates/github/.github/workflows/LiterateCheck.yml b/templates/github/.github/workflows/LiterateCheck.yml index ade2453..1f943bd 100644 --- a/templates/github/.github/workflows/LiterateCheck.yml +++ b/templates/github/.github/workflows/LiterateCheck.yml @@ -1,39 +1,13 @@ -name: Literate check +name: "Literate Check" + on: push: - branches: [main] - tags: [v*] + branches: + - 'main' + tags: '*' pull_request: jobs: - literate: + format-check: name: "Literate Check" - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@v2 - with: - version: 1 - - name: Install Literate and generate docs - run: | - julia -e ' - using Pkg - Pkg.develop(PackageSpec(path=pwd())) - Pkg.instantiate() - Pkg.add(PackageSpec(name="Literate"))' - julia -e 'include("docs/make_readme.jl")' - - name: Check if docs need to be updated - run: | - julia -e ' - out = Cmd(`git diff --name-only`) |> read |> String - if out == "" - exit(0) - else - @error "The docs are outdated, rerun Literate to regenerate them." - write(stdout, out) - out_diff = Cmd(`git diff`) |> read |> String - @error "Diff:" - write(stdout, out_diff) - exit(1) - @error "" - end' + uses: "ITensor/JuliaActions/workflows/LiterateCheck.yml@main" From 89a02a9faacca3765d39b2cd8ea4e883782b5042 Mon Sep 17 00:00:00 2001 From: Lukas Devos Date: Mon, 2 Dec 2024 12:57:33 -0500 Subject: [PATCH 2/9] Update documentation action --- templates/github/.github/workflows/Documentation.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/github/.github/workflows/Documentation.yml b/templates/github/.github/workflows/Documentation.yml index fb96698..4fe4d77 100644 --- a/templates/github/.github/workflows/Documentation.yml +++ b/templates/github/.github/workflows/Documentation.yml @@ -16,5 +16,7 @@ concurrency: jobs: build-and-deploy-docs: name: "Documentation" - uses: "ITensor/JuliaActions/workflows/documentation.yml@main" + uses: "ITensor/JuliaActions/workflows/Documentation.yml@main" + with: + localregistry: https://github.com/ITensor/ITensorRegistry.git secrets: "inherit" From f0e1f37337ada4014f02544ae1132464915eb57e Mon Sep 17 00:00:00 2001 From: Lukas Devos Date: Mon, 2 Dec 2024 15:34:08 -0500 Subject: [PATCH 3/9] Update test names --- templates/github/.github/workflows/{CI.yml => Tests.yml} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename templates/github/.github/workflows/{CI.yml => Tests.yml} (92%) diff --git a/templates/github/.github/workflows/CI.yml b/templates/github/.github/workflows/Tests.yml similarity index 92% rename from templates/github/.github/workflows/CI.yml rename to templates/github/.github/workflows/Tests.yml index a75f935..ab1a682 100644 --- a/templates/github/.github/workflows/CI.yml +++ b/templates/github/.github/workflows/Tests.yml @@ -1,4 +1,4 @@ -name: CI +name: Tests on: push: branches: @@ -32,7 +32,7 @@ jobs: - ubuntu-latest - macOS-latest - windows-latest - uses: "ITensor/JuliaActions/workflows/tests.yml@main" + uses: "ITensor/JuliaActions/workflows/Tests.yml@main" with: group: "${{ matrix.group }}" julia-version: "${{ matrix.version }}" From 4734bfe9b54ad4173b995c30de16d52cc30ad387 Mon Sep 17 00:00:00 2001 From: Lukas Devos Date: Mon, 2 Dec 2024 15:38:59 -0500 Subject: [PATCH 4/9] Update localregistry entries --- templates/github/.github/workflows/LiterateCheck.yml | 2 ++ templates/github/.github/workflows/Tests.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/templates/github/.github/workflows/LiterateCheck.yml b/templates/github/.github/workflows/LiterateCheck.yml index 1f943bd..802699b 100644 --- a/templates/github/.github/workflows/LiterateCheck.yml +++ b/templates/github/.github/workflows/LiterateCheck.yml @@ -11,3 +11,5 @@ jobs: format-check: name: "Literate Check" uses: "ITensor/JuliaActions/workflows/LiterateCheck.yml@main" + with: + localregistry: https://github.com/ITensor/JuliaRegistry.git diff --git a/templates/github/.github/workflows/Tests.yml b/templates/github/.github/workflows/Tests.yml index ab1a682..318cead 100644 --- a/templates/github/.github/workflows/Tests.yml +++ b/templates/github/.github/workflows/Tests.yml @@ -37,5 +37,6 @@ jobs: group: "${{ matrix.group }}" julia-version: "${{ matrix.version }}" os: "${{ matrix.os }}" + localregistry: https://github.com/ITensor/JuliaRegistry.git secrets: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} From a55fd6fb12374ded26a18a25bf690dac0474650e Mon Sep 17 00:00:00 2001 From: Lukas Devos Date: Mon, 2 Dec 2024 15:42:52 -0500 Subject: [PATCH 5/9] Fix stray action name --- templates/github/.github/workflows/LiterateCheck.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/github/.github/workflows/LiterateCheck.yml b/templates/github/.github/workflows/LiterateCheck.yml index 802699b..78cf0e9 100644 --- a/templates/github/.github/workflows/LiterateCheck.yml +++ b/templates/github/.github/workflows/LiterateCheck.yml @@ -8,7 +8,7 @@ on: pull_request: jobs: - format-check: + literate: name: "Literate Check" uses: "ITensor/JuliaActions/workflows/LiterateCheck.yml@main" with: From 5d1e7f41157cbc6aeb4a67f7b994a7aef5bd5863 Mon Sep 17 00:00:00 2001 From: Lukas Devos Date: Mon, 2 Dec 2024 15:44:59 -0500 Subject: [PATCH 6/9] Fix link to registry Co-authored-by: Matt Fishman --- templates/github/.github/workflows/LiterateCheck.yml | 2 +- templates/github/.github/workflows/Tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/github/.github/workflows/LiterateCheck.yml b/templates/github/.github/workflows/LiterateCheck.yml index 78cf0e9..5049572 100644 --- a/templates/github/.github/workflows/LiterateCheck.yml +++ b/templates/github/.github/workflows/LiterateCheck.yml @@ -12,4 +12,4 @@ jobs: name: "Literate Check" uses: "ITensor/JuliaActions/workflows/LiterateCheck.yml@main" with: - localregistry: https://github.com/ITensor/JuliaRegistry.git + localregistry: https://github.com/ITensor/ITensorRegistry.git diff --git a/templates/github/.github/workflows/Tests.yml b/templates/github/.github/workflows/Tests.yml index 318cead..28821f9 100644 --- a/templates/github/.github/workflows/Tests.yml +++ b/templates/github/.github/workflows/Tests.yml @@ -37,6 +37,6 @@ jobs: group: "${{ matrix.group }}" julia-version: "${{ matrix.version }}" os: "${{ matrix.os }}" - localregistry: https://github.com/ITensor/JuliaRegistry.git + localregistry: https://github.com/ITensor/ITensorRegistry.git secrets: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} From 57ab6925ce894f7cc35efac9ce00b5f73a0a666b Mon Sep 17 00:00:00 2001 From: Lukas Devos Date: Mon, 2 Dec 2024 15:54:09 -0500 Subject: [PATCH 7/9] Update JuliaActions to ITensorActions --- templates/github/.github/workflows/Documentation.yml | 2 +- templates/github/.github/workflows/FormatCheck.yml | 2 +- templates/github/.github/workflows/LiterateCheck.yml | 2 +- templates/github/.github/workflows/Tests.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/github/.github/workflows/Documentation.yml b/templates/github/.github/workflows/Documentation.yml index 4fe4d77..2fde63d 100644 --- a/templates/github/.github/workflows/Documentation.yml +++ b/templates/github/.github/workflows/Documentation.yml @@ -16,7 +16,7 @@ concurrency: jobs: build-and-deploy-docs: name: "Documentation" - uses: "ITensor/JuliaActions/workflows/Documentation.yml@main" + uses: "ITensor/ITensorActions/workflows/Documentation.yml@main" with: localregistry: https://github.com/ITensor/ITensorRegistry.git secrets: "inherit" diff --git a/templates/github/.github/workflows/FormatCheck.yml b/templates/github/.github/workflows/FormatCheck.yml index bbb0202..12613c5 100644 --- a/templates/github/.github/workflows/FormatCheck.yml +++ b/templates/github/.github/workflows/FormatCheck.yml @@ -10,4 +10,4 @@ on: jobs: format-check: name: "Format Check" - uses: "ITensor/JuliaActions/workflows/FormatCheck.yml@main" + uses: "ITensor/ITensorActions/workflows/FormatCheck.yml@main" diff --git a/templates/github/.github/workflows/LiterateCheck.yml b/templates/github/.github/workflows/LiterateCheck.yml index 78cf0e9..3e864d5 100644 --- a/templates/github/.github/workflows/LiterateCheck.yml +++ b/templates/github/.github/workflows/LiterateCheck.yml @@ -10,6 +10,6 @@ on: jobs: literate: name: "Literate Check" - uses: "ITensor/JuliaActions/workflows/LiterateCheck.yml@main" + uses: "ITensor/ITensorActions/workflows/LiterateCheck.yml@main" with: localregistry: https://github.com/ITensor/JuliaRegistry.git diff --git a/templates/github/.github/workflows/Tests.yml b/templates/github/.github/workflows/Tests.yml index 318cead..27346ea 100644 --- a/templates/github/.github/workflows/Tests.yml +++ b/templates/github/.github/workflows/Tests.yml @@ -32,7 +32,7 @@ jobs: - ubuntu-latest - macOS-latest - windows-latest - uses: "ITensor/JuliaActions/workflows/Tests.yml@main" + uses: "ITensor/ITensorActions/workflows/Tests.yml@main" with: group: "${{ matrix.group }}" julia-version: "${{ matrix.version }}" From 62475d04f6978908f3ddb5be809a0ef40f043b76 Mon Sep 17 00:00:00 2001 From: Lukas Devos Date: Mon, 2 Dec 2024 17:46:54 -0500 Subject: [PATCH 8/9] regenerate using `generate` --- .github/workflows/Documentation.yml | 22 +++++++++++++++ .github/workflows/FormatCheck.yml | 36 +++++-------------------- .github/workflows/LiterateCheck.yml | 40 ++++++--------------------- .github/workflows/Tests.yml | 42 +++++++++++++++++++++++++++++ test/test_aqua.jl | 2 +- 5 files changed, 80 insertions(+), 62 deletions(-) create mode 100644 .github/workflows/Documentation.yml create mode 100644 .github/workflows/Tests.yml diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml new file mode 100644 index 0000000..2fde63d --- /dev/null +++ b/.github/workflows/Documentation.yml @@ -0,0 +1,22 @@ +name: "Documentation" + +on: + push: + branches: + - main + tags: '*' + pull_request: + schedule: + - cron: '1 4 * * 4' + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch || github.ref != 'refs/tags/v*' }} + +jobs: + build-and-deploy-docs: + name: "Documentation" + uses: "ITensor/ITensorActions/workflows/Documentation.yml@main" + with: + localregistry: https://github.com/ITensor/ITensorRegistry.git + secrets: "inherit" diff --git a/.github/workflows/FormatCheck.yml b/.github/workflows/FormatCheck.yml index bb6d933..12613c5 100644 --- a/.github/workflows/FormatCheck.yml +++ b/.github/workflows/FormatCheck.yml @@ -1,35 +1,13 @@ -name: Format check +name: "Format Check" + on: push: - branches: [main] - tags: [v*] + branches: + - 'main' + tags: '*' pull_request: jobs: - format: + format-check: name: "Format Check" - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@v2 - with: - version: 1 - - name: Install JuliaFormatter and format - run: | - julia -e 'using Pkg; Pkg.add(PackageSpec(name="JuliaFormatter"))' - julia -e 'using JuliaFormatter; format(".", verbose=true)' - - name: Check format - run: | - julia -e ' - out = Cmd(`git diff --name-only`) |> read |> String - if out == "" - exit(0) - else - @error "The following files have not been formatted:" - write(stdout, out) - out_diff = Cmd(`git diff`) |> read |> String - @error "Diff:" - write(stdout, out_diff) - exit(1) - @error "" - end' + uses: "ITensor/ITensorActions/workflows/FormatCheck.yml@main" diff --git a/.github/workflows/LiterateCheck.yml b/.github/workflows/LiterateCheck.yml index ade2453..91c1359 100644 --- a/.github/workflows/LiterateCheck.yml +++ b/.github/workflows/LiterateCheck.yml @@ -1,39 +1,15 @@ -name: Literate check +name: "Literate Check" + on: push: - branches: [main] - tags: [v*] + branches: + - 'main' + tags: '*' pull_request: jobs: literate: name: "Literate Check" - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@v2 - with: - version: 1 - - name: Install Literate and generate docs - run: | - julia -e ' - using Pkg - Pkg.develop(PackageSpec(path=pwd())) - Pkg.instantiate() - Pkg.add(PackageSpec(name="Literate"))' - julia -e 'include("docs/make_readme.jl")' - - name: Check if docs need to be updated - run: | - julia -e ' - out = Cmd(`git diff --name-only`) |> read |> String - if out == "" - exit(0) - else - @error "The docs are outdated, rerun Literate to regenerate them." - write(stdout, out) - out_diff = Cmd(`git diff`) |> read |> String - @error "Diff:" - write(stdout, out_diff) - exit(1) - @error "" - end' + uses: "ITensor/ITensorActions/workflows/LiterateCheck.yml@main" + with: + localregistry: https://github.com/ITensor/ITensorRegistry.git diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml new file mode 100644 index 0000000..16e23ac --- /dev/null +++ b/.github/workflows/Tests.yml @@ -0,0 +1,42 @@ +name: Tests +on: + push: + branches: + - 'master' + - 'main' + - 'release-' + tags: '*' + paths-ignore: + - 'docs/**' + pull_request: + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + # Cancel intermediate builds: only if it is a pull request build. + cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} + +jobs: + tests: + name: "Tests" + strategy: + fail-fast: false + matrix: + version: + - 'lts' # minimal supported version + - '1' # latest released Julia version + # group: + # - 'core' + # - 'optional' + os: + - ubuntu-latest + - macOS-latest + - windows-latest + uses: "ITensor/ITensorActions/workflows/Tests.yml@main" + with: + group: "${{ matrix.group }}" + julia-version: "${{ matrix.version }}" + os: "${{ matrix.os }}" + localregistry: https://github.com/ITensor/ITensorRegistry.git + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/test/test_aqua.jl b/test/test_aqua.jl index 16d9e24..b1bda03 100644 --- a/test/test_aqua.jl +++ b/test/test_aqua.jl @@ -1,6 +1,6 @@ @eval module $(gensym()) -using Aqua: Aqua using ITensorPkgSkeleton: ITensorPkgSkeleton +using Aqua: Aqua using Test: @testset @testset "Code quality (Aqua.jl)" begin From ab65a8631a276046c4e7d9f2bc3990d8014f5da7 Mon Sep 17 00:00:00 2001 From: Lukas Devos Date: Mon, 2 Dec 2024 17:53:21 -0500 Subject: [PATCH 9/9] fix link actions --- .github/workflows/Documentation.yml | 2 +- .github/workflows/FormatCheck.yml | 2 +- .github/workflows/LiterateCheck.yml | 2 +- .github/workflows/Tests.yml | 2 +- templates/github/.github/workflows/Documentation.yml | 2 +- templates/github/.github/workflows/FormatCheck.yml | 2 +- templates/github/.github/workflows/LiterateCheck.yml | 2 +- templates/github/.github/workflows/Tests.yml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml index 2fde63d..75c7be5 100644 --- a/.github/workflows/Documentation.yml +++ b/.github/workflows/Documentation.yml @@ -16,7 +16,7 @@ concurrency: jobs: build-and-deploy-docs: name: "Documentation" - uses: "ITensor/ITensorActions/workflows/Documentation.yml@main" + uses: "ITensor/ITensorActions/.github/workflows/Documentation.yml@main" with: localregistry: https://github.com/ITensor/ITensorRegistry.git secrets: "inherit" diff --git a/.github/workflows/FormatCheck.yml b/.github/workflows/FormatCheck.yml index 12613c5..3f78afc 100644 --- a/.github/workflows/FormatCheck.yml +++ b/.github/workflows/FormatCheck.yml @@ -10,4 +10,4 @@ on: jobs: format-check: name: "Format Check" - uses: "ITensor/ITensorActions/workflows/FormatCheck.yml@main" + uses: "ITensor/ITensorActions/.github/workflows/FormatCheck.yml@main" diff --git a/.github/workflows/LiterateCheck.yml b/.github/workflows/LiterateCheck.yml index 91c1359..2ca5f27 100644 --- a/.github/workflows/LiterateCheck.yml +++ b/.github/workflows/LiterateCheck.yml @@ -10,6 +10,6 @@ on: jobs: literate: name: "Literate Check" - uses: "ITensor/ITensorActions/workflows/LiterateCheck.yml@main" + uses: "ITensor/ITensorActions/.github/workflows/LiterateCheck.yml@main" with: localregistry: https://github.com/ITensor/ITensorRegistry.git diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index 16e23ac..5a0a306 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -32,7 +32,7 @@ jobs: - ubuntu-latest - macOS-latest - windows-latest - uses: "ITensor/ITensorActions/workflows/Tests.yml@main" + uses: "ITensor/ITensorActions/.github/workflows/Tests.yml@main" with: group: "${{ matrix.group }}" julia-version: "${{ matrix.version }}" diff --git a/templates/github/.github/workflows/Documentation.yml b/templates/github/.github/workflows/Documentation.yml index 2fde63d..75c7be5 100644 --- a/templates/github/.github/workflows/Documentation.yml +++ b/templates/github/.github/workflows/Documentation.yml @@ -16,7 +16,7 @@ concurrency: jobs: build-and-deploy-docs: name: "Documentation" - uses: "ITensor/ITensorActions/workflows/Documentation.yml@main" + uses: "ITensor/ITensorActions/.github/workflows/Documentation.yml@main" with: localregistry: https://github.com/ITensor/ITensorRegistry.git secrets: "inherit" diff --git a/templates/github/.github/workflows/FormatCheck.yml b/templates/github/.github/workflows/FormatCheck.yml index 12613c5..3f78afc 100644 --- a/templates/github/.github/workflows/FormatCheck.yml +++ b/templates/github/.github/workflows/FormatCheck.yml @@ -10,4 +10,4 @@ on: jobs: format-check: name: "Format Check" - uses: "ITensor/ITensorActions/workflows/FormatCheck.yml@main" + uses: "ITensor/ITensorActions/.github/workflows/FormatCheck.yml@main" diff --git a/templates/github/.github/workflows/LiterateCheck.yml b/templates/github/.github/workflows/LiterateCheck.yml index 91c1359..2ca5f27 100644 --- a/templates/github/.github/workflows/LiterateCheck.yml +++ b/templates/github/.github/workflows/LiterateCheck.yml @@ -10,6 +10,6 @@ on: jobs: literate: name: "Literate Check" - uses: "ITensor/ITensorActions/workflows/LiterateCheck.yml@main" + uses: "ITensor/ITensorActions/.github/workflows/LiterateCheck.yml@main" with: localregistry: https://github.com/ITensor/ITensorRegistry.git diff --git a/templates/github/.github/workflows/Tests.yml b/templates/github/.github/workflows/Tests.yml index 16e23ac..5a0a306 100644 --- a/templates/github/.github/workflows/Tests.yml +++ b/templates/github/.github/workflows/Tests.yml @@ -32,7 +32,7 @@ jobs: - ubuntu-latest - macOS-latest - windows-latest - uses: "ITensor/ITensorActions/workflows/Tests.yml@main" + uses: "ITensor/ITensorActions/.github/workflows/Tests.yml@main" with: group: "${{ matrix.group }}" julia-version: "${{ matrix.version }}"