This commit is contained in:
parent
1d072e955f
commit
3e90c81991
@ -18,22 +18,22 @@ jobs:
|
|||||||
- name: "lint"
|
- name: "lint"
|
||||||
uses: docker://code.pztrn.name/containers/go-toolbox:v7
|
uses: docker://code.pztrn.name/containers/go-toolbox:v7
|
||||||
with:
|
with:
|
||||||
command: "/usr/local/bin/task lint"
|
command: "go env"
|
||||||
|
|
||||||
Tests:
|
# Tests:
|
||||||
runs-on: "ubuntu-22.04"
|
# runs-on: "ubuntu-22.04"
|
||||||
env:
|
# env:
|
||||||
GOCACHE: /home/container/go/buildcache
|
# GOCACHE: /home/container/go/buildcache
|
||||||
GOMODCACHE: /home/container/go/pkg
|
# GOMODCACHE: /home/container/go/pkg
|
||||||
steps:
|
# steps:
|
||||||
- name: "checkout source"
|
# - name: "checkout source"
|
||||||
uses: actions/checkout@v4
|
# uses: actions/checkout@v4
|
||||||
- name: "cache go dependencies"
|
# - name: "cache go dependencies"
|
||||||
uses: actions/cache@v4
|
# uses: actions/cache@v4
|
||||||
with:
|
# with:
|
||||||
path: /home/container/go
|
# path: /home/container/go
|
||||||
key: bunker-go-cache
|
# key: bunker-go-cache
|
||||||
- name: "tests"
|
# - name: "tests"
|
||||||
uses: docker://code.pztrn.name/containers/go-toolbox:v7
|
# uses: docker://code.pztrn.name/containers/go-toolbox:v7
|
||||||
with:
|
# with:
|
||||||
command: "/usr/local/bin/task test"
|
# command: "/usr/local/bin/task test"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user