mirror of
https://github.com/skidoodle/ipinfo.git
synced 2026-04-27 17:17:35 +02:00
cache
This commit is contained in:
@@ -18,6 +18,14 @@ jobs:
|
||||
with:
|
||||
go-version: '1.22.4'
|
||||
|
||||
- name: Cache Go Modules
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/go/pkg/mod
|
||||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-go-
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user