-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove cache action * go version file
- Loading branch information
Brendan Slabe
authored
Apr 7, 2023
1 parent
0e93011
commit 6d942c6
Showing
2 changed files
with
9 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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/[email protected] | ||
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |