diff --git a/.github/actions/automatic-updates/action.yml b/.github/actions/automatic-updates/action.yml index cef993d2ad..43df1ec445 100644 --- a/.github/actions/automatic-updates/action.yml +++ b/.github/actions/automatic-updates/action.yml @@ -32,7 +32,7 @@ runs: using: "composite" steps: - name: Install Go ${{ inputs.goVersion }} - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: ${{ inputs.goVersion }} - name: Generate changelog diff --git a/.github/actions/e2e-build/action.yml b/.github/actions/e2e-build/action.yml index feaad8cde1..d72389409b 100644 --- a/.github/actions/e2e-build/action.yml +++ b/.github/actions/e2e-build/action.yml @@ -28,7 +28,7 @@ runs: uses: ./.github/actions/kamel-prepare-env - name: Cache modules - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} diff --git a/.github/actions/kamel-prepare-env/action.yml b/.github/actions/kamel-prepare-env/action.yml index 271d2074ef..dd2fbd1ef2 100644 --- a/.github/actions/kamel-prepare-env/action.yml +++ b/.github/actions/kamel-prepare-env/action.yml @@ -71,7 +71,7 @@ runs: distribution: 'temurin' - name: Set up Go - uses: actions/setup-go@v2 # Version 2 adds GOBIN to PATH + uses: actions/setup-go@v4 if: ${{ env.KAMEL_PREPARE_ENV != 'true' }} with: go-version: 1.18.x diff --git a/.github/actions/release-nightly/action.yml b/.github/actions/release-nightly/action.yml index 08268a47dd..00d8bc1862 100644 --- a/.github/actions/release-nightly/action.yml +++ b/.github/actions/release-nightly/action.yml @@ -42,12 +42,12 @@ runs: steps: - name: Set up JDK ${{ inputs.javaVersion }} - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: ${{ inputs.javaVersion }} distribution: "temurin" - name: Install Go ${{ inputs.goVersion }} - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: ${{ inputs.goVersion }} - name: Common smoke tests @@ -56,7 +56,7 @@ runs: cluster-config-data: ${{ inputs.secretE2ECluster }} cluster-kube-config-data: ${{ inputs.secretE2EKube }} - name: Cache modules - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} @@ -98,7 +98,7 @@ runs: - name: Set up QEMU (required by multi platform build) uses: docker/setup-qemu-action@v2 - name: Login to Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ inputs.secretDockerHubUser }} password: ${{ inputs.secretDockerHubPassword }} diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 26412810a8..d126c1f47c 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -28,7 +28,7 @@ jobs: name: Backport steps: - name: "Checkout camel-k" - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: persist-credentials: false submodules: recursive diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9ae5e994f8..eb98721810 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -63,7 +63,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: persist-credentials: false submodules: recursive diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 1caa8e51f9..d301d1f614 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -78,7 +78,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: persist-credentials: false submodules: recursive diff --git a/.github/workflows/common.yml b/.github/workflows/common.yml index 15e99d7abb..1be486dc57 100644 --- a/.github/workflows/common.yml +++ b/.github/workflows/common.yml @@ -76,7 +76,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: persist-credentials: false submodules: recursive diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 26670160d6..37a8c0ee21 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -74,7 +74,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: persist-credentials: false submodules: recursive diff --git a/.github/workflows/knative.yml b/.github/workflows/knative.yml index ec591490b2..543c9e8a99 100644 --- a/.github/workflows/knative.yml +++ b/.github/workflows/knative.yml @@ -73,7 +73,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: persist-credentials: false submodules: recursive @@ -96,7 +96,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: persist-credentials: false submodules: recursive diff --git a/.github/workflows/native.yml b/.github/workflows/native.yml index a83e93f61e..a8d5151e36 100644 --- a/.github/workflows/native.yml +++ b/.github/workflows/native.yml @@ -68,7 +68,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: persist-credentials: false submodules: recursive @@ -93,7 +93,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: persist-credentials: false submodules: recursive diff --git a/.github/workflows/nightly-automatic-updates.yml b/.github/workflows/nightly-automatic-updates.yml index 0f30297cc6..133c9aa555 100644 --- a/.github/workflows/nightly-automatic-updates.yml +++ b/.github/workflows/nightly-automatic-updates.yml @@ -29,7 +29,7 @@ jobs: name: Automatic updates on main branch steps: - name: "Checkout code" - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: main persist-credentials: false @@ -63,7 +63,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Checkout code" - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: release-1.10.x persist-credentials: false diff --git a/.github/workflows/nightly-native-test.yml b/.github/workflows/nightly-native-test.yml index 1f7fe5cdd2..7e453521c8 100644 --- a/.github/workflows/nightly-native-test.yml +++ b/.github/workflows/nightly-native-test.yml @@ -37,7 +37,7 @@ jobs: steps: - name: "Checkout code" - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: ${{ matrix.ref-branch }} persist-credentials: false diff --git a/.github/workflows/nightly-release.yml b/.github/workflows/nightly-release.yml index d6f6b1ee8e..807a35dc46 100644 --- a/.github/workflows/nightly-release.yml +++ b/.github/workflows/nightly-release.yml @@ -36,7 +36,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Checkout code" - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: main persist-credentials: false @@ -78,7 +78,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Checkout code" - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: release-1.10.x persist-credentials: false diff --git a/.github/workflows/telemetry.yml b/.github/workflows/telemetry.yml index 6ef3e2d6e9..b930c19f6c 100644 --- a/.github/workflows/telemetry.yml +++ b/.github/workflows/telemetry.yml @@ -74,7 +74,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: persist-credentials: false submodules: recursive diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 110519f3e0..e934d80627 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -36,9 +36,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: 1.18.x - name: golangci-lint