Skip to content

Commit

Permalink
- upgrading actions to resolve deprecation and pip update warnings;
Browse files Browse the repository at this point in the history
  • Loading branch information
jaltmayerpizzorno committed May 14, 2024
1 parent aef8f2d commit 56de5de
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build-and-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- run: TZ='America/New_York' date '+%Y%m%d%H%M' > dev-build.txt

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: devN
path: dev-build.txt
Expand All @@ -42,7 +42,7 @@ jobs:
upload_source: true

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

- name: Mark workspace safe for git
# needed for container and self-hosted runners; see https://github.com/actions/checkout/issues/766
Expand All @@ -55,7 +55,7 @@ jobs:
- name: get coordinated .devN
if: github.event_name != 'release'
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: devN

Expand All @@ -70,7 +70,7 @@ jobs:
- name: set up python (script version)
if: matrix.container == ''
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python_version }}

Expand All @@ -82,6 +82,7 @@ jobs:
- name: install dependencies
run: |
python3 -m pip install -U pip # avoids GitHub warnings
python3 -m pip install twine build
- name: build wheel
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:

- name: install SlipCover and pytest
run: |
python3 -m pip install --upgrade pip # to avoid warnings
python3 -m pip install .
python3 -m pip install pytest
Expand Down Expand Up @@ -85,6 +86,7 @@ jobs:
cat $GITHUB_PATH
- name: install dependencies
run: |
python3 -m pip install --upgrade pip # to avoid warnings
python3 -m pip install wheel
- name: build sdist
run: |
Expand Down

0 comments on commit 56de5de

Please sign in to comment.