-
Notifications
You must be signed in to change notification settings - Fork 471
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5b0f635
commit f604b4e
Showing
1 changed file
with
21 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ jobs: | |
name: Check linting | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
|
@@ -39,7 +39,7 @@ jobs: | |
run: python -m pip install tox>=4 | ||
- name: Set PY | ||
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV | ||
- uses: actions/cache@v3 | ||
- uses: actions/cache@v4 | ||
with: | ||
path: ~/.cache/pre-commit | ||
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }} | ||
|
@@ -53,7 +53,7 @@ jobs: | |
matrix: | ||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
|
@@ -94,7 +94,7 @@ jobs: | |
uses: docker/setup-qemu-action@v2 | ||
with: | ||
platforms: all | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Building wheel | ||
uses: pypa/[email protected] | ||
env: | ||
|
@@ -105,7 +105,7 @@ jobs: | |
- name: Show wheels generated | ||
run: ls -lh dist | ||
shell: bash | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
include-hidden-files: true | ||
name: ${{ matrix.os.id }}_py${{ matrix.python-version }} | ||
|
@@ -128,7 +128,7 @@ jobs: | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | ||
cloud-provider: [aws, azure, gcp] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
|
@@ -143,7 +143,7 @@ jobs: | |
gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET" \ | ||
.github/workflows/parameters/public/parameters_${{ matrix.cloud-provider }}.py.gpg > test/parameters.py | ||
- name: Download wheel(s) | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: ${{ matrix.os.download_name }}_py${{ matrix.python-version }} | ||
path: dist | ||
|
@@ -165,7 +165,7 @@ jobs: | |
- name: Combine coverages | ||
run: python -m tox run -e coverage --skip-missing-interpreters false | ||
shell: bash | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
include-hidden-files: true | ||
name: coverage_${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }} | ||
|
@@ -186,7 +186,7 @@ jobs: | |
python-version: [3.8] | ||
cloud-provider: [aws] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
|
@@ -225,7 +225,7 @@ jobs: | |
python-version: [3.8] | ||
cloud-provider: [aws] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
|
@@ -253,7 +253,7 @@ jobs: | |
matrix: | ||
cloud-provider: [aws] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Setup parameters file | ||
shell: bash | ||
env: | ||
|
@@ -262,7 +262,7 @@ jobs: | |
gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET" \ | ||
.github/workflows/parameters/public/parameters_${{ matrix.cloud-provider }}.py.gpg > test/parameters.py | ||
- name: Download wheel(s) | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: manylinux_x86_64_py3.8 | ||
path: dist | ||
|
@@ -277,7 +277,7 @@ jobs: | |
PYTEST_ADDOPTS: --color=yes --tb=short | ||
TOX_PARALLEL_NO_SPINNER: 1 | ||
shell: bash | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
include-hidden-files: true | ||
name: coverage_linux-fips-3.8-${{ matrix.cloud-provider }} | ||
|
@@ -300,7 +300,7 @@ jobs: | |
env: | ||
longver: ${{ matrix.python-version }} | ||
shell: bash | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Setup parameters file | ||
shell: bash | ||
env: | ||
|
@@ -309,7 +309,7 @@ jobs: | |
gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET" \ | ||
.github/workflows/parameters/public/parameters_${{ matrix.cloud-provider }}.py.gpg > test/parameters.py | ||
- name: Download wheel(s) | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: manylinux_x86_64_py${{ matrix.python-version }} | ||
path: dist | ||
|
@@ -324,7 +324,7 @@ jobs: | |
PYTEST_ADDOPTS: --color=yes --tb=short | ||
TOX_PARALLEL_NO_SPINNER: 1 | ||
shell: bash | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
include-hidden-files: true | ||
name: coverage_linux-lambda-${{ matrix.python-version }}-${{ matrix.cloud-provider }} | ||
|
@@ -338,8 +338,8 @@ jobs: | |
needs: [lint, test, test-fips, test-lambda] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
path: artifacts | ||
- name: Set up Python | ||
|
@@ -368,17 +368,17 @@ jobs: | |
- name: Combine coverages | ||
run: python -m tox run -e coverage | ||
- name: Publish html coverage | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
include-hidden-files: true | ||
name: overall_cov_html | ||
path: .tox/htmlcov | ||
- name: Publish xml coverage | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
include-hidden-files: true | ||
name: overall_cov_xml | ||
path: .tox/coverage.xml | ||
- uses: codecov/codecov-action@v3 | ||
- uses: codecov/codecov-action@v4 | ||
with: | ||
files: .tox/coverage.xml |