From 979a026c35e9f8ad3f864782c48115d3e5b58dfd Mon Sep 17 00:00:00 2001 From: Nick Frasser <1693461+nfrasser@users.noreply.github.com> Date: Fri, 9 Feb 2024 16:46:22 -0500 Subject: [PATCH] ci: update actions to use Node.js 20 --- .github/workflows/python-package.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index fcded894..1e9e47d7 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -24,10 +24,10 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.10" cache: "pip" @@ -44,7 +44,7 @@ jobs: run: pyright - name: Build sdist run: python -m build --sdist --no-isolation --skip-dependency-check --outdir dist - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: wheels path: dist @@ -59,11 +59,11 @@ jobs: python-version: ["3.7", "3.12"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: "pip" @@ -90,7 +90,7 @@ jobs: matrix: os: ["ubuntu-20.04", "macos-11", "windows-2019"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: Set up QEMU @@ -106,7 +106,7 @@ jobs: CIBW_ARCHS_WINDOWS: "AMD64 ARM64" with: output-dir: dist - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: wheels path: dist @@ -117,10 +117,10 @@ jobs: if: "startsWith(github.ref, 'refs/tags/')" needs: [build] steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: wheels - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.10" - name: Publish to PyPI