From 1918f70f18afa353766cc17e266ca4988961df2a Mon Sep 17 00:00:00 2001 From: Glass Date: Fri, 17 Jul 2026 15:39:49 -0400 Subject: [PATCH 1/2] Update workflows to gh-actions v2 --- .github/workflows/test_and_deploy.yaml | 18 +++++++++--------- pyproject.toml | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test_and_deploy.yaml b/.github/workflows/test_and_deploy.yaml index 8169d33..f3a8260 100644 --- a/.github/workflows/test_and_deploy.yaml +++ b/.github/workflows/test_and_deploy.yaml @@ -95,24 +95,24 @@ jobs: # installed (and micromamba on PATH); pkg-install sets both up. - name: Install built conda package id: install - uses: neutrons/gh-actions/pkg-install@a1e1c8b4123ced6c66fe57b9a60a56a6e4bf6861 # v1 + uses: neutrons/gh-actions/pkg-install@eb7a7c6fcfd0cda1a7b238329afc0afd09a4f4af # v2 with: package-name: ${{ env.PKG_NAME }} local-channel: ./local-channel - name: Verify conda package - uses: neutrons/gh-actions/pkg-verify@a1e1c8b4123ced6c66fe57b9a60a56a6e4bf6861 # v1 + uses: neutrons/gh-actions/pkg-verify@eb7a7c6fcfd0cda1a7b238329afc0afd09a4f4af # v2 with: package-name: ${{ env.PKG_NAME }} module-name: ${{ env.MODULE_NAME }} - conda-env-name: ${{ steps.install.outputs.conda_env }} + conda-env-name: ${{ steps.install.outputs.conda-env }} # Audit the dependencies of the conda package we just installed. SARIF # results are uploaded to GitHub code scanning by the grype action. - name: Scan installed environment with Grype - uses: neutrons/gh-actions/grype@a1e1c8b4123ced6c66fe57b9a60a56a6e4bf6861 # v1 + uses: neutrons/gh-actions/grype@eb7a7c6fcfd0cda1a7b238329afc0afd09a4f4af # v2 with: - path: ${{ steps.install.outputs.conda_install_dir }} + path: ${{ steps.install.outputs.conda-install-dir }} - name: Upload conda package as artifact uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 @@ -150,7 +150,7 @@ jobs: name: artifact-conda-package - name: Upload package to anaconda - uses: neutrons/gh-actions/publish@a1e1c8b4123ced6c66fe57b9a60a56a6e4bf6861 # v1 + uses: neutrons/gh-actions/publish@eb7a7c6fcfd0cda1a7b238329afc0afd09a4f4af # v2 with: anaconda-token: ${{ secrets.ANACONDA_TOKEN }} organization: neutrons @@ -158,11 +158,11 @@ jobs: - name: Remove old packages if: github.ref == 'refs/heads/next' - uses: neutrons/gh-actions/pkg-remove@a1e1c8b4123ced6c66fe57b9a60a56a6e4bf6861 # v1 + uses: neutrons/gh-actions/pkg-remove@eb7a7c6fcfd0cda1a7b238329afc0afd09a4f4af # v2 with: - anaconda_token: ${{ secrets.ANACONDA_TOKEN }} + anaconda-token: ${{ secrets.ANACONDA_TOKEN }} organization: neutrons - package_name: ${{ env.PKG_NAME }} + package-name: ${{ env.PKG_NAME }} label: ${{ env.CONDA_LABEL }} keep: 5 diff --git a/pyproject.toml b/pyproject.toml index 97259d2..1bff723 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -161,9 +161,9 @@ pytest-repeat = "*" pytest-xdist = "*" [tool.pixi.feature.package.dependencies] -twine = ">=6.1.0,<7" +twine = ">=6.1.0,<7" # for PyPI publishing +hatch = "*" # for building wheels and sdist versioningit = "*" -hatch = "*" [tool.pixi.feature.package.pypi-dependencies] toml-cli = "*" From 60119af12ac64efb3ed34625f5657b75705cf96d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 17 Jul 2026 19:42:27 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1bff723..5ef430e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -161,8 +161,8 @@ pytest-repeat = "*" pytest-xdist = "*" [tool.pixi.feature.package.dependencies] -twine = ">=6.1.0,<7" # for PyPI publishing -hatch = "*" # for building wheels and sdist +twine = ">=6.1.0,<7" # for PyPI publishing +hatch = "*" # for building wheels and sdist versioningit = "*" [tool.pixi.feature.package.pypi-dependencies]