This commit is contained in:
parent
286ce84871
commit
dc3a74cfb6
@ -10,17 +10,20 @@ jobs:
|
||||
steps:
|
||||
- name: "checkout source"
|
||||
uses: actions/checkout@v4
|
||||
- name: "cache go dependencies"
|
||||
uses: actions/cache@v4
|
||||
- name: "restore cache with go things"
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: |
|
||||
/home/container/go
|
||||
/home/container/golangci-lint
|
||||
path: /home/container
|
||||
key: bunker-go-cache
|
||||
- name: "lint"
|
||||
uses: docker://code.pztrn.name/containers/go-toolbox:v8
|
||||
with:
|
||||
command: "/usr/local/bin/task lint"
|
||||
- name: "save cache with go things"
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: /home/container
|
||||
key: bunker-go-cache
|
||||
|
||||
# Tests:
|
||||
# runs-on: "ubuntu-22.04"
|
||||
|
Loading…
x
Reference in New Issue
Block a user