build: remove separate go module cache step as its done by setup-go

This commit is contained in:
albertony 2024-04-18 11:26:54 +02:00
parent 9531cd2c46
commit db17aaf7cd

View File

@ -168,14 +168,6 @@ jobs:
printf "\n\nSystem environment:\n\n" printf "\n\nSystem environment:\n\n"
env env
- name: Go module cache
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build rclone - name: Build rclone
shell: bash shell: bash
run: | run: |
@ -271,14 +263,6 @@ jobs:
with: with:
go-version: '>=1.22.0-rc.1' go-version: '>=1.22.0-rc.1'
- name: Go module cache
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Set global environment variables - name: Set global environment variables
shell: bash shell: bash
run: | run: |