Skip to content

Commit

Permalink
chore: Update GitHub Actions to use checkout@v4
Browse files Browse the repository at this point in the history
Signed-off-by: Abdelkader Boudih <terminale@gmail.com>
  • Loading branch information
seuros authored and ostafen committed Apr 5, 2024
1 parent 063d41a commit 9b4c8ff
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
with:
go-version: ${{ matrix.go }}

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Test
run: make test
Expand Down Expand Up @@ -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 ./...
Expand All @@ -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 \
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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/ \
Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9b4c8ff

Please sign in to comment.