Basic client and server apps. #41
@ -10,20 +10,22 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: "checkout source"
|
- name: "checkout source"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: "restore cache with go things"
|
- uses: https://gitea.com/actions/go-hashfiles@v0.0.1
|
||||||
uses: actions/cache/restore@v4
|
id: hash-go
|
||||||
|
with:
|
||||||
|
patterns: |
|
||||||
|
go.mod
|
||||||
|
go.sum
|
||||||
|
- name: "cache with go things"
|
||||||
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: /home/container
|
path: /home/container
|
||||||
key: bunker-go-cache
|
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:
|
||||||
command: "/usr/local/bin/task lint"
|
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:
|
# Tests:
|
||||||
# runs-on: "ubuntu-22.04"
|
# runs-on: "ubuntu-22.04"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user