Skip to content

Commit

Permalink
TECH-1639 Upgrade actions (#1195)
Browse files Browse the repository at this point in the history
  • Loading branch information
Janin-Michel-Mathias committed Jul 3, 2024
1 parent 4a18af7 commit 1f75045
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 21 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/manual-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
name: Manual Tests Run

on:
workflow_dispatch:
workflow_dispatch:
inputs:
jahia_image:
description: 'Jahia Image'
Expand All @@ -24,11 +24,11 @@ jobs:
runs-on: self-hosted
steps:
- uses: jahia/jahia-modules-action/helper@v2
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: KengoTODA/actions-setup-docker-compose@main
with:
version: '1.29.2'
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- uses: jahia/jahia-modules-action/integration-tests@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
- uses: KengoTODA/actions-setup-docker-compose@main
with:
version: '1.29.2'
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: jahia/jahia-modules-action/integration-tests@v2
with:
module_id: jcontent
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/on-code-change.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: Update module signature
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: jahia/jahia-modules-action/update-signature@v2
with:
nexus_username: ${{ secrets.NEXUS_USERNAME }}
Expand All @@ -23,7 +23,7 @@ jobs:
name: Static Analysis (linting, vulns)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: Jahia/jahia-modules-action/static-analysis@v2
with:
auditci_level: critical
Expand All @@ -33,8 +33,8 @@ jobs:
name: Javascript unit tests (yarn test)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- name: Run yarn test
Expand All @@ -55,7 +55,7 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: jahia/jahia-modules-action/build@v2
with:
nexus_username: ${{ secrets.NEXUS_USERNAME }}
Expand All @@ -69,7 +69,7 @@ jobs:
env:
NEXUS_INTERNAL_URL: ${{ secrets.NEXUS_INTERNAL_URL }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: jahia/jahia-modules-action/sonar-analysis@v2
with:
primary_release_branch: master
Expand Down Expand Up @@ -99,10 +99,10 @@ jobs:
- uses: KengoTODA/actions-setup-docker-compose@main
with:
version: '1.29.2'
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: jahia/jahia-modules-action/integration-tests@v2
with:
module_id: jcontent
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/on-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: Update module signature
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: jahia/jahia-modules-action/update-signature@v2
with:
nexus_username: ${{ secrets.NEXUS_USERNAME }}
Expand All @@ -35,7 +35,7 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: jahia/jahia-modules-action/build@v2
with:
nexus_username: ${{ secrets.NEXUS_USERNAME }}
Expand Down Expand Up @@ -75,10 +75,10 @@ jobs:
- uses: KengoTODA/actions-setup-docker-compose@main
with:
version: '1.29.2'
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: jahia/jahia-modules-action/integration-tests@v2
with:
module_id: jcontent
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: jahia/jahia-modules-action/publish@v2
with:
nexus_username: ${{ secrets.NEXUS_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
# Providing the SSH PRIVATE of a user part of an admin group
# is necessary to bypass PR checks
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.GH_SSH_PRIVATE_KEY_JAHIACI }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on-rollback.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
# Providing the SSH PRIVATE of a user part of an admin group
# is necessary to bypass PR checks
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.GH_SSH_PRIVATE_KEY_JAHIACI }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/schedule-sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ matrix.supported_branches }}
- uses: jahia/jahia-modules-action/build@v2
Expand Down

0 comments on commit 1f75045

Please sign in to comment.