Skip to content

Commit

Permalink
updated the workflows actions/cache to use v4
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-irenen committed Jan 22, 2025
1 parent f134630 commit c0be1cb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
echo "DOCKER_REGISTRY=$DOCKER_REGISTRY" >> $GITHUB_ENV
echo "DOCKER_BUILDKIT_CACHE=${{ runner.temp }}/.buildx-cache" >> $GITHUB_ENV
- name: Cache docker layers
# actions/cache@v2.0.0
uses: actions/cache@b820478
# actions/cache@v4
uses: actions/cache@v4
with:
path: ${{ env.DOCKER_BUILDKIT_CACHE }}
key: ${{ runner.os }}-buildx-${{ matrix.target }}-${{ env.TAG }}
Expand Down Expand Up @@ -80,8 +80,8 @@ jobs:
# actions/checkout@v2
uses: actions/checkout@722adc6
- name: Try to load cached Go modules
# actions/cache@v1.1.2
uses: actions/cache@70655ec
# actions/cache@v4
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
Expand Down Expand Up @@ -118,8 +118,8 @@ jobs:
# actions/checkout@v2
uses: actions/checkout@722adc6
- name: Try to load cached Go modules
# actions/cache@v1.1.2
uses: actions/cache@70655ec
# actions/cache@v4
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
echo "DOCKER_REGISTRY=$DOCKER_REGISTRY" >> $GITHUB_ENV
echo "DOCKER_BUILDKIT_CACHE=${{ runner.temp }}/.buildx-cache" >> $GITHUB_ENV
- name: Cache docker layers
# actions/cache@v2.0.0
uses: actions/cache@b820478
# actions/cache@v4
uses: actions/cache@v4
with:
path: ${{ env.DOCKER_BUILDKIT_CACHE }}
key: ${{ runner.os }}-buildx-${{ matrix.target }}-${{ env.TAG }}
Expand Down Expand Up @@ -81,8 +81,8 @@ jobs:
# actions/checkout@v2
uses: actions/checkout@722adc6
- name: Try to load cached Go modules
# actions/cache@v1.1.2
uses: actions/cache@70655ec
# actions/cache@v4
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
Expand Down Expand Up @@ -116,8 +116,8 @@ jobs:
# actions/checkout@v2
uses: actions/checkout@722adc6
- name: Try to load cached Go modules
# actions/cache@v1.1.2
uses: actions/cache@70655ec
# actions/cache@v4
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
Expand Down Expand Up @@ -147,8 +147,8 @@ jobs:
uses: actions/checkout@722adc6
- name: Try to load cached Go modules
#if: startsWith(github.ref, 'refs/tags/stable')
# actions/cache@v1.1.2
uses: actions/cache@70655ec
# actions/cache@v4
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
Expand Down

0 comments on commit c0be1cb

Please sign in to comment.