Skip to content

Commit

Permalink
ci: resolve workflow deprecation warnings (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
ixje authored Oct 16, 2024
1 parent 2b17f26 commit af30c90
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
deploy-pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4.6.1
uses: actions/setup-python@v5.2.0
with:
python-version: '3.11'
- name: Create dist
Expand All @@ -44,7 +44,7 @@ jobs:
twine upload --repository testpypi dist/*
- if: github.event.inputs.pypi-target == 'Main' || github.event_name == 'push'
name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/validate-pr-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
python-version: ["3.11", "3.12"]
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: 'mamba'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4.6.1
uses: actions/setup-python@v5.2.0
with:
python-version: ${{ matrix.python-version }}
check-latest: true
Expand All @@ -43,15 +43,15 @@ jobs:
- name: prep for persist
run: tar -czf mamba.tar.gz mamba
- name: persist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: setup-artifact-${{ matrix.os }}-py${{ matrix.python-version }}
path: mamba.tar.gz
retention-days: 1
linting:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: psf/black@stable
with:
options: '--check --target-version py311'
Expand All @@ -62,11 +62,11 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: restore artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: setup-artifact-ubuntu-20.04-py3.11
- name: Set up Python 3.11
uses: actions/setup-python@v4.6.1
uses: actions/setup-python@v5.2.0
with:
python-version: "3.11"
check-latest: true
Expand All @@ -86,11 +86,11 @@ jobs:
python-version: ["3.11", "3.12"]
steps:
- name: restore artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: setup-artifact-${{ matrix.os }}-py${{ matrix.python-version }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4.6.1
uses: actions/setup-python@v5.2.0
with:
python-version: '${{ matrix.python-version }}'
check-latest: true
Expand All @@ -115,11 +115,11 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: restore artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: setup-artifact-ubuntu-20.04-py3.11
- name: Set up Python 3.11
uses: actions/setup-python@v4.6.1
uses: actions/setup-python@v5.2.0
with:
python-version: "3.11"
check-latest: true
Expand Down

0 comments on commit af30c90

Please sign in to comment.