diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1f58cc4..d4288c7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: - os: windows arch: 386 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: gacts/setup-go-with-cache@v1 with: {go-version-file: go.mod} @@ -51,7 +51,7 @@ jobs: name: Build docker image runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - {uses: gacts/github-slug@v1, id: slug} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e8d5b70..57c9389 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,7 +17,7 @@ jobs: name: Gitleaks runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: {fetch-depth: 0} - name: Check for GitLeaks @@ -27,7 +27,7 @@ jobs: name: Golang-CI (lint) runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: gacts/setup-go-with-cache@v1 with: {go-version: 1.19} @@ -39,7 +39,7 @@ jobs: name: Unit tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: {fetch-depth: 2} # Fixes codecov error 'Issue detecting commit SHA' - uses: gacts/setup-go-with-cache@v1 @@ -69,7 +69,7 @@ jobs: arch: 386 needs: [golangci-lint, go-test] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: gacts/setup-go-with-cache@v1 with: {go-version-file: go.mod} @@ -104,7 +104,7 @@ jobs: caching-engine: [memory, redis] needs: [build] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Start redis server if: matrix.caching-engine == 'redis' @@ -133,7 +133,7 @@ jobs: runs-on: ubuntu-latest needs: [golangci-lint, go-test] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - {uses: gacts/github-slug@v1, id: slug} @@ -172,7 +172,7 @@ jobs: caching-engine: [memory, redis] needs: [docker-image] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Create docker network run: docker network create "app-network"