From 9b4c8ff935a9c8ee2ea350e38f2352a7dbf26dc6 Mon Sep 17 00:00:00 2001 From: Abdelkader Boudih Date: Sat, 17 Feb 2024 23:30:25 +0100 Subject: [PATCH] chore: Update GitHub Actions to use checkout@v4 Signed-off-by: Abdelkader Boudih --- .github/workflows/performance.yml | 4 ++-- .github/workflows/pull.yml | 8 ++++---- .github/workflows/push-dev.yml | 2 +- .github/workflows/push.yml | 12 ++++++------ .github/workflows/stress.yml | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index b1c2f719aa..788740f283 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -49,7 +49,7 @@ jobs: - uses: actions/setup-go@v5 with: go-version: ${{ inputs.go-version }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go build -o perf-test-suite ./test/performance-test-suite/cmd/perf-test/ - name: Run performance tests id: performance @@ -95,7 +95,7 @@ jobs: env: PERF_TEST_AWS_REGION: ${{ secrets.PERF_TEST_AWS_REGION }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download test results if: "${{ env.PERF_TEST_AWS_REGION }}" diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index b419e388c1..9f691e5286 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -38,7 +38,7 @@ jobs: with: go-version: ${{ matrix.go }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Test run: make test @@ -123,7 +123,7 @@ jobs: - uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: securego/gosec@v2.17.0 with: args: -fmt=json -out=results-$JOB_ID.json -no-fail ./... @@ -135,7 +135,7 @@ jobs: - uses: actions/setup-go@v5 with: go-version: "1.18" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: | # Spawn minio docker container in the background docker run -d -t -p 9000:9000 --name minio \ @@ -199,7 +199,7 @@ jobs: - uses: actions/setup-go@v5 with: go-version: "1.18" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go build -o perf-test-suite ./test/performance-test-suite/cmd/perf-test/ - run: ./perf-test-suite > perf-test-results.json - name: Upload test results diff --git a/.github/workflows/push-dev.yml b/.github/workflows/push-dev.yml index 0c0f85bb81..e5b3e52bdd 100644 --- a/.github/workflows/push-dev.yml +++ b/.github/workflows/push-dev.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: | GITTAG=$(git rev-parse HEAD | head -c 8) docker build -t codenotary/immudb-dev1:$GITTAG . diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 32ad7f5de6..efee7a85d8 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/setup-go@v5 with: go-version: ${{ env.MIN_SUPPORTED_GO_VERSION }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: make all gosec: @@ -33,7 +33,7 @@ jobs: - uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run Gosec Security Scanner uses: securego/gosec@v2.17.0 with: @@ -54,7 +54,7 @@ jobs: - uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build binaries run: WEBCONSOLE=default SWAGGER=true make dist - id: list-binaries @@ -160,7 +160,7 @@ jobs: - uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run KV stress test run: | go run ./tools/testing/stress_tool_test_kv/ \ @@ -231,7 +231,7 @@ jobs: DEBIAN_VERSION: bullseye-slim ALMA_VERSION: almalinux-8-minimal steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build docker images shell: bash run: | @@ -302,7 +302,7 @@ jobs: - uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: | # Spawn minio docker container in the background docker run -d -t -p 9000:9000 --name minio \ diff --git a/.github/workflows/stress.yml b/.github/workflows/stress.yml index 071a0a00c0..b8faf61ccd 100644 --- a/.github/workflows/stress.yml +++ b/.github/workflows/stress.yml @@ -14,7 +14,7 @@ jobs: uses: actions/setup-go@v5 with: go-version: "1.18" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build stress tool run: | go build embedded/tools/stress_tool/stress_tool.go