From c3b5202feb864628e8be31ace403cb6c49ca0b8a Mon Sep 17 00:00:00 2001 From: mtfishman Date: Sat, 14 Feb 2026 13:06:23 -0500 Subject: [PATCH] Apply format patch --- .github/workflows/CompatHelper.yml | 10 ++--- .github/workflows/Documentation.yml | 19 ++++---- .github/workflows/FormatCheck.yml | 18 ++++---- .github/workflows/FormatPullRequest.yml | 10 ++--- .github/workflows/IntegrationTest.yml | 29 ++++++------ .github/workflows/IntegrationTestRequest.yml | 10 ++--- .github/workflows/LiterateCheck.yml | 10 ++--- .github/workflows/Registrator.yml | 21 ++++----- .github/workflows/TagBot.yml | 20 ++++----- .github/workflows/Tests.yml | 46 ++++++++++---------- .github/workflows/VersionCheck.yml | 6 +-- Project.toml | 2 +- 12 files changed, 94 insertions(+), 107 deletions(-) diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml index 0614de9..70f2dc6 100644 --- a/.github/workflows/CompatHelper.yml +++ b/.github/workflows/CompatHelper.yml @@ -1,13 +1,11 @@ name: "CompatHelper" - on: schedule: - - cron: '0 0 * * *' - workflow_dispatch: + - cron: "0 0 * * *" + workflow_dispatch: ~ permissions: - contents: write - pull-requests: write - + contents: "write" + pull-requests: "write" jobs: compat-helper: name: "CompatHelper" diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml index 01a7f7a..c3b11ec 100644 --- a/.github/workflows/Documentation.yml +++ b/.github/workflows/Documentation.yml @@ -1,23 +1,20 @@ name: "Documentation" - on: push: branches: - - main - tags: '*' - pull_request: + - "main" + tags: "*" + pull_request: ~ schedule: - - cron: '1 4 * * 4' - + - 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*' }} - + 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/.github/workflows/Documentation.yml@main" with: - localregistry: https://github.com/ITensor/ITensorRegistry.git + localregistry: "https://github.com/ITensor/ITensorRegistry.git" secrets: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}" diff --git a/.github/workflows/FormatCheck.yml b/.github/workflows/FormatCheck.yml index 1525861..596c76c 100644 --- a/.github/workflows/FormatCheck.yml +++ b/.github/workflows/FormatCheck.yml @@ -1,15 +1,17 @@ name: "Format Check" - on: pull_request_target: - paths: ['**/*.jl'] - types: [opened, synchronize, reopened, ready_for_review] - + paths: + - "**/*.jl" + types: + - "opened" + - "synchronize" + - "reopened" + - "ready_for_review" permissions: - contents: read - actions: write - pull-requests: write - + contents: "read" + actions: "write" + pull-requests: "write" jobs: format-check: name: "Format Check" diff --git a/.github/workflows/FormatPullRequest.yml b/.github/workflows/FormatPullRequest.yml index 93875cc..b9a329c 100644 --- a/.github/workflows/FormatPullRequest.yml +++ b/.github/workflows/FormatPullRequest.yml @@ -1,13 +1,11 @@ name: "Format Pull Request" - on: schedule: - - cron: '0 0 * * *' - workflow_dispatch: + - cron: "0 0 * * *" + workflow_dispatch: ~ permissions: - contents: write - pull-requests: write - + contents: "write" + pull-requests: "write" jobs: format-pull-request: name: "Format Pull Request" diff --git a/.github/workflows/IntegrationTest.yml b/.github/workflows/IntegrationTest.yml index fda7c09..d61c016 100644 --- a/.github/workflows/IntegrationTest.yml +++ b/.github/workflows/IntegrationTest.yml @@ -1,27 +1,30 @@ name: "IntegrationTest" - on: push: branches: - - 'main' - tags: '*' + - "main" + tags: "*" paths: - - 'Project.toml' + - "Project.toml" pull_request: - types: [opened, synchronize, reopened, ready_for_review, converted_to_draft] + types: + - "opened" + - "synchronize" + - "reopened" + - "ready_for_review" + - "converted_to_draft" paths: - - 'Project.toml' - + - "Project.toml" jobs: integration-test: name: "IntegrationTest" strategy: - matrix: - pkg: - - 'BlockSparseArrays' - - 'DiagonalArrays' - - 'FusionTensors' - - 'GradedArrays' + matrix: + pkg: + - "BlockSparseArrays" + - "DiagonalArrays" + - "FusionTensors" + - "GradedArrays" uses: "ITensor/ITensorActions/.github/workflows/IntegrationTest.yml@main" with: localregistry: "https://github.com/ITensor/ITensorRegistry.git" diff --git a/.github/workflows/IntegrationTestRequest.yml b/.github/workflows/IntegrationTestRequest.yml index d42fcca..6f58e45 100644 --- a/.github/workflows/IntegrationTestRequest.yml +++ b/.github/workflows/IntegrationTestRequest.yml @@ -1,14 +1,14 @@ name: "Integration Test Request" - on: issue_comment: - types: [created] - + types: + - "created" jobs: integrationrequest: if: | github.event.issue.pull_request && contains(fromJSON('["OWNER", "COLLABORATOR", "MEMBER"]'), github.event.comment.author_association) - uses: ITensor/ITensorActions/.github/workflows/IntegrationTestRequest.yml@main + + uses: "ITensor/ITensorActions/.github/workflows/IntegrationTestRequest.yml@main" with: - localregistry: https://github.com/ITensor/ITensorRegistry.git + localregistry: "https://github.com/ITensor/ITensorRegistry.git" diff --git a/.github/workflows/LiterateCheck.yml b/.github/workflows/LiterateCheck.yml index 2ca5f27..efa25ca 100644 --- a/.github/workflows/LiterateCheck.yml +++ b/.github/workflows/LiterateCheck.yml @@ -1,15 +1,13 @@ name: "Literate Check" - on: push: branches: - - 'main' - tags: '*' - pull_request: - + - "main" + tags: "*" + pull_request: ~ jobs: literate: name: "Literate Check" uses: "ITensor/ITensorActions/.github/workflows/LiterateCheck.yml@main" with: - localregistry: https://github.com/ITensor/ITensorRegistry.git + localregistry: "https://github.com/ITensor/ITensorRegistry.git" diff --git a/.github/workflows/Registrator.yml b/.github/workflows/Registrator.yml index 7d6694f..00bf06c 100644 --- a/.github/workflows/Registrator.yml +++ b/.github/workflows/Registrator.yml @@ -1,22 +1,19 @@ -name: Register Package - +name: "Register Package" on: - workflow_dispatch: + workflow_dispatch: ~ push: branches: - - 'master' - - 'main' + - "master" + - "main" paths: - - 'Project.toml' - + - "Project.toml" permissions: - contents: write - pull-requests: write - + contents: "write" + pull-requests: "write" jobs: Register: uses: "ITensor/ITensorActions/.github/workflows/Registrator.yml@main" with: - localregistry: ITensor/ITensorRegistry + localregistry: "ITensor/ITensorRegistry" secrets: - REGISTRATOR_KEY: ${{ secrets.REGISTRATOR_KEY }} + REGISTRATOR_KEY: "${{ secrets.REGISTRATOR_KEY }}" diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index fa4545c..7876e9c 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -1,18 +1,16 @@ -name: TagBot - +name: "TagBot" on: issue_comment: types: - - created - workflow_dispatch: - + - "created" + workflow_dispatch: ~ jobs: TagBot: - if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' - runs-on: ubuntu-latest + if: "github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'" + runs-on: "ubuntu-latest" steps: - - uses: JuliaRegistries/TagBot@v1 + - uses: "JuliaRegistries/TagBot@v1" with: - token: ${{ secrets.GITHUB_TOKEN }} - registry: ITensor/ITensorRegistry - ssh: ${{ secrets.DOCUMENTER_KEY }} + token: "${{ secrets.GITHUB_TOKEN }}" + registry: "ITensor/ITensorRegistry" + ssh: "${{ secrets.DOCUMENTER_KEY }}" diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index 32beee6..e3a94c5 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -1,23 +1,24 @@ -name: Tests - +name: "Tests" on: push: branches: - - 'master' - - 'main' - - 'release-' - tags: '*' + - "master" + - "main" + - "release-" + tags: "*" paths-ignore: - - 'docs/**' + - "docs/**" pull_request: - types: [opened, synchronize, reopened, ready_for_review, converted_to_draft] - workflow_dispatch: - + types: + - "opened" + - "synchronize" + - "reopened" + - "ready_for_review" + - "converted_to_draft" + 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/') }} - + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: "${{ startsWith(github.ref, 'refs/pull/') }}" jobs: tests: name: "Tests" @@ -25,20 +26,17 @@ jobs: fail-fast: false matrix: version: - - 'lts' # minimal supported version - - '1' # latest released Julia version - # group: - # - 'core' - # - 'optional' + - "lts" + - "1" os: - - ubuntu-latest - - macOS-latest - - windows-latest + - "ubuntu-latest" + - "macOS-latest" + - "windows-latest" uses: "ITensor/ITensorActions/.github/workflows/Tests.yml@main" with: group: "${{ matrix.group }}" julia-version: "${{ matrix.version }}" os: "${{ matrix.os }}" - localregistry: https://github.com/ITensor/ITensorRegistry.git + localregistry: "https://github.com/ITensor/ITensorRegistry.git" secrets: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}" diff --git a/.github/workflows/VersionCheck.yml b/.github/workflows/VersionCheck.yml index 69444f1..bb0df88 100644 --- a/.github/workflows/VersionCheck.yml +++ b/.github/workflows/VersionCheck.yml @@ -1,11 +1,9 @@ name: "Version Check" - on: - pull_request: - + pull_request: ~ jobs: version-check: name: "Version Check" uses: "ITensor/ITensorActions/.github/workflows/VersionCheck.yml@main" with: - localregistry: https://github.com/ITensor/ITensorRegistry.git + localregistry: "https://github.com/ITensor/ITensorRegistry.git" diff --git a/Project.toml b/Project.toml index 5dfa1c4..32d1748 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "SparseArraysBase" uuid = "0d5efcca-f356-4864-8770-e1ed8d78f208" -version = "0.9.4" +version = "0.9.5" authors = ["ITensor developers and contributors"] [workspace]