Skip to content

Commit

Permalink
Merge pull request #6111 from radarhere/actions
Browse files Browse the repository at this point in the history
Updated setup-python, checkout and upload-artifact actions to v3
  • Loading branch information
hugovk committed Mar 5, 2022
2 parents c32f908 + 954aa4e commit 6b9f854
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cifuzz.yml
Expand Up @@ -31,13 +31,13 @@ jobs:
language: python
dry-run: false
- name: Upload New Crash
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: failure() && steps.build.outcome == 'success'
with:
name: artifacts
path: ./out/artifacts
- name: Upload Legacy Crash
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: steps.run.outcome == 'success'
with:
name: crash
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Expand Up @@ -10,7 +10,7 @@ jobs:
name: Lint

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: pre-commit cache
uses: actions/cache@v2
Expand All @@ -21,7 +21,7 @@ jobs:
lint-pre-commit-
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: "3.10"
cache: pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-docker.yml
Expand Up @@ -41,7 +41,7 @@ jobs:
name: ${{ matrix.docker }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Build system information
run: python3 .github/workflows/system-info.py
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-mingw.yml
Expand Up @@ -29,7 +29,7 @@ jobs:

steps:
- name: Checkout Pillow
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up shell
run: echo "C:\msys64\usr\bin\" >> $env:GITHUB_PATH
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-valgrind.yml
Expand Up @@ -28,7 +28,7 @@ jobs:
name: ${{ matrix.docker }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Build system information
run: python3 .github/workflows/system-info.py
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test-windows.yml
Expand Up @@ -23,17 +23,17 @@ jobs:

steps:
- name: Checkout Pillow
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Checkout cached dependencies
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: python-pillow/pillow-depends
path: winbuild\depends

# sets env: pythonLocation
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
shell: bash

- name: Upload errors
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: failure()
with:
name: errors
Expand All @@ -182,7 +182,7 @@ jobs:
winbuild\\build\\build_pillow.cmd --disable-imagequant bdist_wheel
shell: cmd

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: "github.event_name != 'pull_request'"
with:
name: ${{ steps.wheel.outputs.dist }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Expand Up @@ -36,10 +36,10 @@ jobs:
name: ${{ matrix.os }} Python ${{ matrix.python-version }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: pip
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
mkdir -p Tests/errors
- name: Upload errors
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: failure()
with:
name: errors
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tidelift.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Scan
uses: tidelift/alignment-action@main
env:
Expand Down

0 comments on commit 6b9f854

Please sign in to comment.