Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Set cache
uses: actions/cache@v3.2.6
uses: actions/cache@v4.0.2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.sum') }}
Expand All @@ -38,14 +38,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Download go mod cache
uses: actions/cache@v3.2.6
uses: actions/cache@v4.0.2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-gomod-
- name: Set go build cache
uses: actions/cache@v3.2.6
uses: actions/cache@v4.0.2
with:
path: /tmp/go/cache
key: ${{ runner.os }}-go-build-${{ github.ref }}-${{ github.sha }}
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Download go mod cache
uses: actions/cache@v3.2.6
uses: actions/cache@v4.0.2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.sum') }}
Expand All @@ -94,7 +94,7 @@ jobs:
with:
go-version: 1.17
- uses: actions/checkout@v3
- uses: actions/cache@v3.2.6
- uses: actions/cache@v4.0.2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.sum') }}
Expand Down