From adee33ed7ef88c793ecded59a8db0a081c9c2f7c Mon Sep 17 00:00:00 2001 From: Ashley Whetter Date: Sun, 1 Sep 2024 18:12:17 -0700 Subject: [PATCH] Update all github actions --- .github/workflows/main.yml | 4 ++-- .github/workflows/release.yml | 14 +++++++------- docs/changes/+168cc6cb.misc.rst | 1 + 3 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 docs/changes/+168cc6cb.misc.rst diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1820b30d..6fb496d0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,11 +13,11 @@ jobs: platform: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.platform }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} allow-prereleases: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fa998bb0..cf2323d4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,9 +8,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.x" - name: Install pypa/build @@ -22,7 +22,7 @@ jobs: - name: Build a binary wheel and a source tarball run: python3 -m build - name: Store the distribution packages - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: python-package-distributions path: dist/ @@ -42,7 +42,7 @@ jobs: steps: - name: Download all the dists - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: python-package-distributions path: dist/ @@ -63,12 +63,12 @@ jobs: steps: - name: Download all the dists - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: python-package-distributions path: dist/ - name: Sign the dists with Sigstore - uses: sigstore/gh-action-sigstore-python@v2.1.1 + uses: sigstore/gh-action-sigstore-python@v3.0.0 with: inputs: >- ./dist/*.tar.gz @@ -82,4 +82,4 @@ jobs: run: >- gh release upload '${{ github.ref_name }}' dist/** - --repo '${{ github.repository }}' \ No newline at end of file + --repo '${{ github.repository }}' diff --git a/docs/changes/+168cc6cb.misc.rst b/docs/changes/+168cc6cb.misc.rst new file mode 100644 index 00000000..05ba359d --- /dev/null +++ b/docs/changes/+168cc6cb.misc.rst @@ -0,0 +1 @@ +Updated all github actions.