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

ci: resolve workflow deprecation warnings #323

Merged
merged 1 commit into from
Oct 16, 2024
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/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