This commit is contained in:
parent
900f16cb95
commit
2c7fa8c6cd
@ -9,21 +9,11 @@ jobs:
|
|||||||
runs-on: "ubuntu-22.04"
|
runs-on: "ubuntu-22.04"
|
||||||
container:
|
container:
|
||||||
image: code.pztrn.name/containers/go-toolbox:v8
|
image: code.pztrn.name/containers/go-toolbox:v8
|
||||||
|
volumes:
|
||||||
|
- "bunker-go-cache:/home/container"
|
||||||
steps:
|
steps:
|
||||||
- name: "checkout source"
|
- name: "checkout source"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- uses: https://gitea.com/actions/go-hashfiles@v0.0.1
|
|
||||||
id: hash-go
|
|
||||||
with:
|
|
||||||
patterns: |
|
|
||||||
go.mod
|
|
||||||
go.sum
|
|
||||||
- name: "cache with go things"
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: /home/container
|
|
||||||
key: bunker-go-cache-${{ steps.hash-go.outputs.hash }}
|
|
||||||
restore-keys: bunker-go-cache-${{ steps.hash-go.outputs.hash }}
|
|
||||||
- name: "lint"
|
- name: "lint"
|
||||||
uses: docker://code.pztrn.name/containers/go-toolbox:v8
|
uses: docker://code.pztrn.name/containers/go-toolbox:v8
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user