Skip to content

Commit db09096

Browse files
authored
Merge pull request #896 from bhandras/ci-go-runner-bump
github: update `setup-go` remove `cache`
2 parents db4eb63 + 300ffa9 commit db09096

File tree

1 file changed

+2
-24
lines changed

1 file changed

+2
-24
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -74,19 +74,8 @@ jobs:
7474
with:
7575
fetch-depth: 0
7676

77-
- name: go cache
78-
uses: actions/cache@v4
79-
with:
80-
path: /home/runner/work/go
81-
key: lnd-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}-${{ hashFiles('**/go.sum') }}
82-
restore-keys: |
83-
loop-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}-${{ hashFiles('**/go.sum') }}
84-
loop-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}-
85-
loop-${{ runner.os }}-go-${{ env.GO_VERSION }}-
86-
loop-${{ runner.os }}-go-
87-
8877
- name: setup go ${{ env.GO_VERSION }}
89-
uses: actions/setup-go@v2
78+
uses: actions/setup-go@v5
9079
with:
9180
go-version: '~${{ env.GO_VERSION }}'
9281

@@ -106,19 +95,8 @@ jobs:
10695
- name: git checkout
10796
uses: actions/checkout@v2
10897

109-
- name: go cache
110-
uses: actions/cache@v4
111-
with:
112-
path: /home/runner/work/go
113-
key: lnd-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}-${{ hashFiles('**/go.sum') }}
114-
restore-keys: |
115-
loop-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}-${{ hashFiles('**/go.sum') }}
116-
loop-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}-
117-
loop-${{ runner.os }}-go-${{ env.GO_VERSION }}-
118-
loop-${{ runner.os }}-go-
119-
12098
- name: setup go ${{ env.GO_VERSION }}
121-
uses: actions/setup-go@v2
99+
uses: actions/setup-go@v5
122100
with:
123101
go-version: '~${{ env.GO_VERSION }}'
124102

0 commit comments

Comments
 (0)