Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

Commit

Permalink
[MGDOBR-1152] - Update GH actions to use Node.js 16
Browse files Browse the repository at this point in the history
  • Loading branch information
afalhambra committed Oct 18, 2022
1 parent c0e8c69 commit d828c2b
Show file tree
Hide file tree
Showing 20 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .github/actions/java-maven-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ runs:
java-version: ${{ inputs.java-version }}
maven-version: ${{ inputs.maven-version }}
- name: Cache Maven packages
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ inputs.cache-key-prefix }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/kind/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ runs:
using: "composite"
steps:
- name: Set up KinD
uses: container-tools/kind-action@v1
uses: container-tools/kind-action@v2
with:
config: .github/kind-config.yaml
registry: false # Registry not needed
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
name: Publish JARs and Containers
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Free disk space
uses: ./.github/actions/free-disk-space
- name: Java and Maven Setup
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CI-Topics-Cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
if: github.repository == '5733d9e2be6485d52ffa08870cabdee0/sandbox'
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: "main"
- name: Free disk space
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
name: Build and Test
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: "refs/pull/${{ github.event.number }}/merge"
fetch-depth: 0
Expand All @@ -32,7 +32,7 @@ jobs:
with:
cache-key-prefix: ${{ runner.os }}
- name: Re-Checkout # since Java And Maven Setup step is checking out the main branch, we have to checkout the pull request branch again
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: "refs/pull/${{ github.event.number }}/merge"
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Managed-Connectors-Cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
if: github.repository == '5733d9e2be6485d52ffa08870cabdee0/sandbox'
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: "main"
- name: Free disk space
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/Manager-CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
name: Build all images and run E2E tests
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: "refs/pull/${{ github.event.number }}/merge"
- name: Check labels
Expand All @@ -45,7 +45,7 @@ jobs:
with:
cache-key-prefix: ${{ runner.os }}
- name: Re-Checkout # since Java And Maven Setup step is checking out the main branch, we have to checkout the pull request branch again
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: "refs/pull/${{ github.event.number }}/merge"
- name: Set up KinD
Expand All @@ -54,7 +54,7 @@ jobs:
kind-node-hostname: ${{ env.KIND_MAIN_NODE_HOSTNAME }}
- name: External Secret Operator Setup
uses: ./.github/actions/external-secret-operator-setup
- uses: imranismail/setup-kustomize@v1
- uses: imranismail/setup-kustomize@v2
- name: Use built Fleet manager and operator images
run: |
kustomize edit set image event-bridge-manager=$FLEET_MANAGER_CONTAINER_NAME
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Operator-CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
name: Build and Test Operator
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: "refs/pull/${{ github.event.number }}/merge"
- name: Check labels
Expand All @@ -34,7 +34,7 @@ jobs:
with:
cache-key-prefix: ${{ runner.os }}
- name: Re-Checkout # since Java And Maven Setup step is checking out the main branch, we have to checkout the pull request branch again
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: "refs/pull/${{ github.event.number }}/merge"
- name: Set up KinD
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Upgrade-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
kind-node-hostname: ${{ env.KIND_MAIN_NODE_HOSTNAME }}
- name: External Secret Operator Setup
uses: ./.github/actions/external-secret-operator-setup
- uses: imranismail/setup-kustomize@v1
- uses: imranismail/setup-kustomize@v2
- name: Use built Fleet manager and operator images
run: |
kustomize edit set image event-bridge-manager=$FLEET_MANAGER_CONTAINER_NAME
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Webhook-Cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
if: github.repository == '5733d9e2be6485d52ffa08870cabdee0/sandbox'
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: "main"
- name: Add mask
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Java and Maven Setup
uses: ./.github/actions/java-maven-setup
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Check User Permission
uses: actions-cool/check-user-permission@v2.0.1
id: checkUser
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dev-cluster-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
if: github.repository == '5733d9e2be6485d52ffa08870cabdee0/sandbox'
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: "dev"
- name: Free disk space
Expand All @@ -47,7 +47,7 @@ jobs:
with:
cache-key-prefix: ${{ runner.os }}
- name: Re-Checkout # since Java And Maven Setup step is checking out the main branch, we have to checkout the dev branch again
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: "dev"
- name: Compile sandbox repo
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev-cluster-long-running-bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
if: github.repository == '5733d9e2be6485d52ffa08870cabdee0/sandbox'
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Free disk space
uses: ./.github/actions/free-disk-space
- name: Add mask
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/openapi_update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == '5733d9e2be6485d52ffa08870cabdee0/sandbox'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Sandbox OpenAPI changed
uses: peter-evans/repository-dispatch@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/production-cluster-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
if: github.repository == '5733d9e2be6485d52ffa08870cabdee0/sandbox'
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: "stable"
- name: Free disk space
Expand All @@ -47,7 +47,7 @@ jobs:
with:
cache-key-prefix: ${{ runner.os }}
- name: Re-Checkout # since Java And Maven Setup step is checking out the main branch, we have to checkout the stable branch again
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: "stable"
- name: Compile sandbox repo
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the latest code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
if: github.repository == '5733d9e2be6485d52ffa08870cabdee0/sandbox'
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Free disk space
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/stable-cluster-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
if: github.repository == '5733d9e2be6485d52ffa08870cabdee0/sandbox'
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: "stable"
- name: Free disk space
Expand All @@ -47,7 +47,7 @@ jobs:
with:
cache-key-prefix: ${{ runner.os }}
- name: Re-Checkout # since Java And Maven Setup step is checking out the main branch, we have to checkout the stable branch again
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: "stable"
- name: Compile sandbox repo
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/stage-cluster-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
if: github.repository == '5733d9e2be6485d52ffa08870cabdee0/sandbox'
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: "stable"
- name: Free disk space
Expand All @@ -47,7 +47,7 @@ jobs:
with:
cache-key-prefix: ${{ runner.os }}
- name: Re-Checkout # since Java And Maven Setup step is checking out the main branch, we have to checkout the stable branch again
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: "stable"
- name: Compile sandbox repo
Expand Down

0 comments on commit d828c2b

Please sign in to comment.