Skip to content

Commit

Permalink
github actions: Update actions that still use Node.js 16
Browse files Browse the repository at this point in the history
  • Loading branch information
chris34 committed Feb 8, 2024
1 parent 594f019 commit 1c9df69
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

Expand All @@ -34,7 +34,7 @@ jobs:
id: checkout-branch
continue-on-error: true
if: ${{ !github.event.pull_request }}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: inyokaproject/theme-ubuntuusers
ssh-key: ${{ secrets.SSH_KEY_THEME_UBUNTUUSERS }} # ssh key of inyokatestci, read only, see https://docs.github.com/en/actions/reference/encrypted-secrets
Expand All @@ -45,7 +45,7 @@ jobs:
id: checkout-pr
continue-on-error: true
if: ${{ github.event.pull_request }}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.owner.login }}/theme-ubuntuusers
ssh-key: ${{ secrets.SSH_KEY_THEME_UBUNTUUSERS }}
Expand All @@ -54,7 +54,7 @@ jobs:
persist-credentials: false
- name: "Checkout fallback theme: repo theme-ubuntuusers, staging branch"
if: steps.checkout-branch.outcome == 'failure' || steps.checkout-pr.outcome == 'failure'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: inyokaproject/theme-ubuntuusers
ssh-key: ${{ secrets.SSH_KEY_THEME_UBUNTUUSERS }}
Expand All @@ -63,13 +63,13 @@ jobs:
persist-credentials: false

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Cache venv
id: cache-venv
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/venv/
key: ${{ runner.os }}-venv-py${{ matrix.python-version }}-${{ hashFiles(env.REQUIREMENTS_FILE) }}
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
- name: Compress coverage report
run: zip htmlcov.zip -r htmlcov
- name: Save coverage report for tests
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-py${{ matrix.python-version }}-${{ matrix.database }}
path: htmlcov.zip
Expand All @@ -165,7 +165,7 @@ jobs:
run: zip bdd_coverage.zip -r bdd_coverage
- name: Save BDD results
if: ${{ matrix.database == 'postgresql' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: BDD-coverage-py${{ matrix.python-version }}-${{ matrix.database }}
path: bdd_coverage.zip
Expand All @@ -181,7 +181,7 @@ jobs:
run: zip doc.zip -r docs/build/html
- name: Save documentation
if: ${{ matrix.build_docs }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'Inyoka_Documentation'
path: doc.zip
Expand All @@ -192,7 +192,7 @@ jobs:
run: zip static-collected.zip -r inyoka/static-collected
- name: Save statics
if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.build_docs }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'Static_files'
path: static-collected.zip

0 comments on commit 1c9df69

Please sign in to comment.