Skip to content

Commit

Permalink
workflow: update used actions to latest stable versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jkloetzke committed Aug 2, 2024
1 parent 9a52820 commit 6f1692d
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,16 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip

- name: Cache Jenkins integration test
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: test/integration/jenkins/cache
key: ${{ runner.os }}
Expand Down Expand Up @@ -51,7 +52,7 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Store the binary wheel
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: dist
Expand All @@ -61,19 +62,20 @@ jobs:
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Python 3.12
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip

- name: Prepare MSYS2 environment
run: |
C:\msys64\usr\bin\bash -l -c "pacman -Sy --needed --noconfirm parallel || true"
- name: Cache Jenkins integration test
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: test/integration/jenkins/cache
key: ${{ runner.os }}
Expand Down Expand Up @@ -101,12 +103,13 @@ jobs:
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Python 3.12
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip

- name: Install dependencies
run: |
Expand All @@ -118,7 +121,7 @@ jobs:
python3 setup.py sdist
- name: Store the source distribution
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: dist
Expand All @@ -134,7 +137,7 @@ jobs:
- build-sdist
steps:
- name: Download all the dists
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
Expand Down

0 comments on commit 6f1692d

Please sign in to comment.