Cache test
All checks were successful
Build and Push Docker Image / build (push) Successful in 16m2s
All checks were successful
Build and Push Docker Image / build (push) Successful in 16m2s
This commit is contained in:
@@ -17,6 +17,26 @@ jobs:
|
||||
username: ${{ secrets.REGISTRY_USER }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
|
||||
- name: Cache Go modules
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/go/pkg/mod
|
||||
~/go/bin
|
||||
key: go-mod-{{ hashFiles('**/go.sum') }}
|
||||
restore-keys: |
|
||||
go-mod-
|
||||
|
||||
# Set up Go
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.21'
|
||||
|
||||
# Download modules
|
||||
- name: Go mod tidy
|
||||
run: go mod tidy
|
||||
|
||||
- name: ls
|
||||
run:
|
||||
ls
|
||||
|
||||
Reference in New Issue
Block a user