Artifact upgrade v4 (#463)

This commit is contained in:
Philipp Horstenkamp 2023-12-15 16:46:52 +01:00 committed by GitHub
parent d1736db653
commit fd16ed6752
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 9 deletions

View File

@ -56,7 +56,7 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }} url: ${{ steps.deployment.outputs.page_url }}
steps: steps:
- run: echo "Deployment URL = ${{ steps.deployment.outputs.page_url }}" - run: echo "Deployment URL = ${{ steps.deployment.outputs.page_url }}"
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4
with: with:
name: github-pages name: github-pages
- name: Deploy to GitHub Pages - name: Deploy to GitHub Pages

View File

@ -63,7 +63,7 @@ jobs:
run: | run: |
poetry run pip-audit --format markdown -o lbr-audit.md || true poetry run pip-audit --format markdown -o lbr-audit.md || true
- name: Archive license summary - name: Archive license summary
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: license-summary name: license-summary
path: | path: |

View File

@ -29,14 +29,14 @@ jobs:
run: | run: |
poetry run pytest --junit-xml=unit-test-results.xml --cov-report "xml:coverage.xml" --cov=src --disable-warnings tests/ poetry run pytest --junit-xml=unit-test-results.xml --cov-report "xml:coverage.xml" --cov=src --disable-warnings tests/
- name: Archive code coverage results - name: Archive code coverage results
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: code-coverage-report name: code-coverage-report
path: | path: |
coverage.xml coverage.xml
.coverage .coverage
- name: Archive unit test results - name: Archive unit test results
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: test-report name: test-report
path: | path: |
@ -49,7 +49,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: test needs: test
steps: steps:
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4
with: with:
name: code-coverage-report name: code-coverage-report
- name: Get Cover - name: Get Cover
@ -77,14 +77,14 @@ jobs:
python-version: '3.11' python-version: '3.11'
cache: poetry cache: poetry
- run: poetry install --only test --all-extras - run: poetry install --only test --all-extras
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4
with: with:
name: code-coverage-report name: code-coverage-report
- name: Make Coverage Report - name: Make Coverage Report
run: | run: |
poetry run coverage html poetry run coverage html
- name: Archive builds - name: Archive builds
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: Coverage Report HTML name: Coverage Report HTML
path: htmlcov/ path: htmlcov/
@ -107,7 +107,7 @@ jobs:
- run: | - run: |
poetry build poetry build
- name: Archive builds - name: Archive builds
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: wheel-builds name: wheel-builds
path: dist/ path: dist/
@ -121,7 +121,7 @@ jobs:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v4
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4
with: with:
name: wheel-builds name: wheel-builds
path: dist path: dist