From ba6b4cbcc37ff7428672edc1bed07b2d88f338fa Mon Sep 17 00:00:00 2001 From: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com> Date: Mon, 29 Jul 2024 15:58:04 +0200 Subject: [PATCH] chore(ci): fix deprecation and optimization --- .github/workflows/build.yaml | 4 ++++ .github/workflows/documentation.yml | 2 +- .github/workflows/experimental.yaml | 4 ++-- .github/workflows/test-integration.yaml | 9 +++++---- .github/workflows/test-unit.yaml | 4 ++++ 5 files changed, 16 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 95e921ebf..542cd056b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -4,6 +4,10 @@ on: pull_request: branches: - '*' + paths-ignore: + - 'docs/**' + - '**.md' + - 'script/gcg/**' env: GO_VERSION: '1.22' diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 696237d59..c278889e4 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -24,7 +24,7 @@ jobs: fetch-depth: 0 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} diff --git a/.github/workflows/experimental.yaml b/.github/workflows/experimental.yaml index fa91bfda5..7d9e2e2ea 100644 --- a/.github/workflows/experimental.yaml +++ b/.github/workflows/experimental.yaml @@ -56,10 +56,10 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build docker experimental image env: diff --git a/.github/workflows/test-integration.yaml b/.github/workflows/test-integration.yaml index cd157edad..c00cad272 100644 --- a/.github/workflows/test-integration.yaml +++ b/.github/workflows/test-integration.yaml @@ -4,9 +4,10 @@ on: pull_request: branches: - '*' - push: - branches: - - 'gh-actions' + paths-ignore: + - 'docs/**' + - '**.md' + - 'script/gcg/**' env: GO_VERSION: '1.22' @@ -63,7 +64,7 @@ jobs: - name: Generate go test Slice id: test_split - uses: hashicorp-forge/go-test-split-action@v1 + uses: hashicorp-forge/go-test-split-action@v2.0.0 with: packages: ./integration total: ${{ matrix.parallel }} diff --git a/.github/workflows/test-unit.yaml b/.github/workflows/test-unit.yaml index 43ea42853..a22dc4cda 100644 --- a/.github/workflows/test-unit.yaml +++ b/.github/workflows/test-unit.yaml @@ -4,6 +4,10 @@ on: pull_request: branches: - '*' + paths-ignore: + - 'docs/**' + - '**.md' + - 'script/gcg/**' env: GO_VERSION: '1.22'