Skip to content

Commit

Permalink
fix go version issue
Browse files Browse the repository at this point in the history
  • Loading branch information
theFong committed Feb 9, 2024
1 parent 519feea commit 46894c4
Show file tree
Hide file tree
Showing 24 changed files with 49 additions and 49 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
if: "contains(github.event.head_commit.message, 'e2etest')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: '1.20'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Test_ChangePwd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
if: "contains(github.event.head_commit.message, 'e2etest')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: '1.20'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
if: "contains(github.event.head_commit.message, 'e2etest')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: '1.20'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Test_NoProjectBrev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
if: "contains(github.event.head_commit.message, 'e2etest')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: '1.20'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Test_NoUserBrevNoProj.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
if: "contains(github.event.head_commit.message, 'e2etest')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: '1.20'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Test_NoUserBrevProj.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
if: "contains(github.event.head_commit.message, 'e2etest')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: '1.20'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Test_ProjectRepoNoBrev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
if: "contains(github.event.head_commit.message, 'e2etest')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: '1.20'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Test_ProvidedSetupFileChange.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
if: "contains(github.event.head_commit.message, 'e2etest')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: '1.20'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Test_ProvidedSetupRanNoProj.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
if: "contains(github.event.head_commit.message, 'e2etest')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: '1.20'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Test_ProvidedSetupUpdated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
if: "contains(github.event.head_commit.message, 'e2etest')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: '1.20'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Test_UnauthenticatedSSHKey.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
if: "contains(github.event.head_commit.message, 'e2etest')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: '1.20'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Test_UserBrevProjectBrevV0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
if: "contains(github.event.head_commit.message, 'e2etest')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: '1.20'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Test_UserBrevProjectBrevV1All.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
if: "contains(github.event.head_commit.message, 'e2etest')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: '1.20'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Test_UserBrevProjectBrevV1Minimal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
if: "contains(github.event.head_commit.message, 'e2etest')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: '1.20'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Test_VscodeExtension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
if: "contains(github.event.head_commit.message, 'e2etest')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: '1.20'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Test_httpGit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
if: "contains(github.event.head_commit.message, 'e2etest')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: '1.20'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: '1.20'
cache: true

- name: Build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: '1.20'
cache: true


Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: '1.20'
cache: true
- name: Build
run: make ci
Expand Down Expand Up @@ -60,9 +60,9 @@ jobs:
with:
fetch-depth: 0

- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: '1.20'
cache: true
- name: Release test
run: make build
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: '1.20'
cache: true
- name: install
run: make install
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
with:
fetch-depth: 0

- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: '1.20'
cache: true
- name: Release
run: make ci smoke-test release
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: '1.20'
cache: true
- name: install
run: make install
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/vet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: '1.20'
cache: true
- name: install
run: make install
Expand Down
2 changes: 1 addition & 1 deletion bin/gen-e2e-actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def generate_file_content(test_name):
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: 1.20
go-version: '1.20'
cache: true
- name: expire test cache
run: go clean -testcache
Expand Down

0 comments on commit 46894c4

Please sign in to comment.