Skip to content

Commit

Permalink
Remove actions/cache (#444)
Browse files Browse the repository at this point in the history
* remove cache action

* go version file
  • Loading branch information
Brendan Slabe committed Apr 7, 2023
1 parent 0e93011 commit 6d942c6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
21 changes: 4 additions & 17 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,13 @@ jobs:
name: Code Gen
runs-on: ubuntu-22.04
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Set up Go 1.18
uses: actions/setup-go@v4
with:
go-version: 1.18.5
go-version-file: "go.mod"
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Generate Code
run: |
./ci/check-code-and-docs-gen.sh
Expand All @@ -36,7 +29,7 @@ jobs:
- name: Set up Go 1.18
uses: actions/setup-go@v4
with:
go-version: 1.18.5
go-version-file: "go.mod"
# Required for codegen tests
- name: Install kind
uses: helm/kind-action@v1.5.0
Expand All @@ -49,12 +42,6 @@ jobs:
- uses: azure/setup-kubectl@v3
with:
version: 'v1.24.7'
- uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install deps for codegen
run: |
make install-tools
Expand Down
5 changes: 5 additions & 0 deletions changelog/v0.29.6/remove-actions-cache.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
changelog:
- type: NON_USER_FACING
issueLink: https://github.com/solo-io/solo-projects/issues/4708
resolvesIssue: false
description: Removed actions/cache as this is made redundant by actions/setup-go@v4.

0 comments on commit 6d942c6

Please sign in to comment.