Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use newest v4 upload/download artifacts action #812

Merged
merged 2 commits into from
Feb 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@v4.1.7
uses: actions/download-artifact@v4
- name: Run tests in nix-shell
run: |
nix-shell \
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Download wheel uploaded by the build-wheel job
uses: actions/download-artifact@v4.1.7
uses: actions/download-artifact@v4
- 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 }}
Expand All @@ -149,7 +149,7 @@ jobs:
uses: astral-sh/setup-uv@v3
- uses: actions/setup-python@v5
- name: Download wheel uploaded by the build-wheel job
uses: actions/download-artifact@v4.1.7
uses: actions/download-artifact@v4
- name: Build source distribution
run: uv build --sdist
- name: Validate distributions
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-working-directory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
echo 'def hello(): return "Hello, World!"' > test.py

- name: Upload test repository
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test-repo
path: test-repo
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
fetch-depth: 30

- name: Download test repository
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: test-repo
path: ${{ runner.temp }}/test-repo
Expand Down
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ Internal
- Drop dependency on ``pip`` and ``distutils`` in the weekly CI "future" test. Use
``packaging`` instead.
- No need to use `typing.Pattern` instead of `re.Pattern` in Python 3.9+.
- Always use newest artifact upload/download actions from the v4 series in the CI build.


2.1.1_ - 2024-04-16
Expand Down
Loading