From 5d98eecf1e0385798401b77259ffa75282c43803 Mon Sep 17 00:00:00 2001 From: Olha Yevtushenko Date: Tue, 2 Apr 2024 19:52:09 +0300 Subject: [PATCH] ci: update and unify dependency versions (except helm) --- .github/workflows/e2e-test.yaml | 13 +++++++------ .github/workflows/golangci-lint.yaml | 4 ++-- .github/workflows/helm-lint.yaml | 2 +- .github/workflows/helm-test.yaml | 2 +- .github/workflows/unit-test.yaml | 4 ++-- .github/workflows/yamllint.yaml | 2 +- 6 files changed, 14 insertions(+), 13 deletions(-) diff --git a/.github/workflows/e2e-test.yaml b/.github/workflows/e2e-test.yaml index 8b5dd5aa..8fffaf1b 100644 --- a/.github/workflows/e2e-test.yaml +++ b/.github/workflows/e2e-test.yaml @@ -7,19 +7,19 @@ jobs: runs-on: ubuntu-latest steps: - name: "Build:checkout" - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: "Build:buildx" - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 with: version: v0.9.1 # Buildx version - name: "Build:login" - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: "Build:dockerimage" - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: context: . file: Dockerfile.controller @@ -33,7 +33,7 @@ jobs: needs: ["docker"] runs-on: ubuntu-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@v4 - name: "Kustomize Build" uses: karancode/kustomize-github-action@master with: @@ -41,6 +41,7 @@ jobs: kustomize_build_dir: "config/default" kustomize_output_file: "rendered.yaml" kustomize_build_options: "--load_restrictor none" + # TODO: setup-kind seems to be not well maintained so check for alternatives - uses: engineerd/setup-kind@v0.5.0 with: version: "v0.20.0" @@ -66,7 +67,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/golangci-lint.yaml b/.github/workflows/golangci-lint.yaml index b0343044..cb588d7e 100644 --- a/.github/workflows/golangci-lint.yaml +++ b/.github/workflows/golangci-lint.yaml @@ -8,8 +8,8 @@ jobs: golangci: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: '1.20' cache: false diff --git a/.github/workflows/helm-lint.yaml b/.github/workflows/helm-lint.yaml index 0c3491d7..81d6e3ee 100644 --- a/.github/workflows/helm-lint.yaml +++ b/.github/workflows/helm-lint.yaml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/helm-test.yaml b/.github/workflows/helm-test.yaml index 7f1138bb..b13e77ec 100644 --- a/.github/workflows/helm-test.yaml +++ b/.github/workflows/helm-test.yaml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/unit-test.yaml b/.github/workflows/unit-test.yaml index 812418d2..aaa7e5f1 100644 --- a/.github/workflows/unit-test.yaml +++ b/.github/workflows/unit-test.yaml @@ -13,11 +13,11 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Test run: | make test-setup-ci diff --git a/.github/workflows/yamllint.yaml b/.github/workflows/yamllint.yaml index 24973dec..002f8940 100644 --- a/.github/workflows/yamllint.yaml +++ b/.github/workflows/yamllint.yaml @@ -7,7 +7,7 @@ jobs: lintAllTheThings: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: yaml-lint uses: ibiqlik/action-yamllint@v3 with: