diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 98f90ed47..7e6a25c6f 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -26,7 +26,7 @@ jobs: - name: Build wheel distribution run: python setup.py bdist_wheel - name: Upload wheel for other jobs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dist path: dist/ @@ -59,7 +59,7 @@ jobs: with: nix_path: nixpkgs=channel:nixos-unstable - name: Download wheel uploaded by the build-wheel job - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4.1.7 - name: Run tests in nix-shell run: | nix-shell \ @@ -124,7 +124,7 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Download wheel uploaded by the build-wheel job - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4.1.7 - name: Install Darker and its dependencies from the wheel built earlier run: pip install "${{needs.build-wheel.outputs.wheel-path}}[test]" ${{ matrix.upgrade }} ${{ matrix.constraints }} @@ -150,7 +150,7 @@ jobs: - name: Install twine run: python -m pip install twine - name: Download wheel uploaded by the build-wheel job - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4.1.7 - name: Build source distribution run: python setup.py sdist - name: Validate distributions