mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
parent
3b720d08d1
commit
bc8e561213
|
@ -12,10 +12,9 @@ build:
|
||||||
dependencies:
|
dependencies:
|
||||||
go.dev: ^1.20
|
go.dev: ^1.20
|
||||||
working-directory: cmd/atlas
|
working-directory: cmd/atlas
|
||||||
script: |
|
script:
|
||||||
go mod download
|
- go mod download
|
||||||
mkdir -p "{{ prefix }}"/bin
|
- go build -v -trimpath -ldflags="$LDFLAGS" -o $BUILDLOC .
|
||||||
go build -v -trimpath -ldflags="$LDFLAGS" -o $BUILDLOC .
|
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org,direct
|
GOPROXY: https://proxy.golang.org,direct
|
||||||
GOSUMDB: sum.golang.org
|
GOSUMDB: sum.golang.org
|
||||||
|
@ -33,4 +32,7 @@ build:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script:
|
script:
|
||||||
- test "$(atlas version | head -n1)" = "atlas version v{{version}}"
|
- run: test "$(atlas version | head -n1)" = "atlas version v{{version}}"
|
||||||
|
if: <0.23
|
||||||
|
- run: test "$(atlas version | head -n1)" = "atlas unofficial version v{{version}}"
|
||||||
|
if: '>=0.23'
|
||||||
|
|
Loading…
Reference in a new issue