Figuring out envs.
All checks were successful
Linting and tests / Linting (push) Successful in 5s

This commit is contained in:
Stanislav Nikitin 2025-09-11 07:55:11 +05:00
parent 1d072e955f
commit 3e90c81991
Signed by: pztrn
GPG Key ID: 1E944A0F0568B550

View File

@ -18,22 +18,22 @@ jobs:
- name: "lint"
uses: docker://code.pztrn.name/containers/go-toolbox:v7
with:
command: "/usr/local/bin/task lint"
command: "go env"
Tests:
runs-on: "ubuntu-22.04"
env:
GOCACHE: /home/container/go/buildcache
GOMODCACHE: /home/container/go/pkg
steps:
- name: "checkout source"
uses: actions/checkout@v4
- name: "cache go dependencies"
uses: actions/cache@v4
with:
path: /home/container/go
key: bunker-go-cache
- name: "tests"
uses: docker://code.pztrn.name/containers/go-toolbox:v7
with:
command: "/usr/local/bin/task test"
# Tests:
# runs-on: "ubuntu-22.04"
# env:
# GOCACHE: /home/container/go/buildcache
# GOMODCACHE: /home/container/go/pkg
# steps:
# - name: "checkout source"
# uses: actions/checkout@v4
# - name: "cache go dependencies"
# uses: actions/cache@v4
# with:
# path: /home/container/go
# key: bunker-go-cache
# - name: "tests"
# uses: docker://code.pztrn.name/containers/go-toolbox:v7
# with:
# command: "/usr/local/bin/task test"