diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 45cc22a6d..6ffe7c574 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -74,19 +74,8 @@ jobs: with: fetch-depth: 0 - - name: go cache - uses: actions/cache@v4 - with: - path: /home/runner/work/go - key: lnd-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}-${{ hashFiles('**/go.sum') }} - restore-keys: | - loop-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}-${{ hashFiles('**/go.sum') }} - loop-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}- - loop-${{ runner.os }}-go-${{ env.GO_VERSION }}- - loop-${{ runner.os }}-go- - - name: setup go ${{ env.GO_VERSION }} - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: '~${{ env.GO_VERSION }}' @@ -106,19 +95,8 @@ jobs: - name: git checkout uses: actions/checkout@v2 - - name: go cache - uses: actions/cache@v4 - with: - path: /home/runner/work/go - key: lnd-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}-${{ hashFiles('**/go.sum') }} - restore-keys: | - loop-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}-${{ hashFiles('**/go.sum') }} - loop-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}- - loop-${{ runner.os }}-go-${{ env.GO_VERSION }}- - loop-${{ runner.os }}-go- - - name: setup go ${{ env.GO_VERSION }} - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: '~${{ env.GO_VERSION }}'