chore: upgrade conform to v0.1.0-alpha.10 (#379)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
This commit is contained in:
parent
eed7388a50
commit
a62583a40f
@ -3,11 +3,10 @@ language: minimal
|
||||
services:
|
||||
- docker
|
||||
before_install:
|
||||
- make enforce
|
||||
- make ci BINDIR=/usr/bin
|
||||
- docker pull autonomy/conform:v0.1.0-alpha.9
|
||||
- export BUILDKIT_HOST=tcp://0.0.0.0:1234
|
||||
script:
|
||||
- docker run --rm -v $PWD:/src -w /src autonomy/conform:v0.1.0-alpha.9
|
||||
- make
|
||||
- if [[ -n $(git status -s) ]];then echo 'working tree is dirty' && git status -s
|
||||
&& exit 1; fi
|
||||
|
4
Makefile
4
Makefile
@ -21,6 +21,7 @@ ifeq ($(UNAME_S),Darwin)
|
||||
BUILDCTL_ARCHIVE := https://github.com/moby/buildkit/releases/download/$(BUILDKIT_VERSION)/buildkit-$(BUILDKIT_VERSION).darwin-amd64.tar.gz
|
||||
endif
|
||||
BINDIR ?= /usr/local/bin
|
||||
CONFORM_VERSION ?= v0.1.0-alpha.10
|
||||
|
||||
COMMON_ARGS := --progress=plain
|
||||
COMMON_ARGS += --frontend=dockerfile.v0
|
||||
@ -65,6 +66,9 @@ ifneq ($(BUILDKIT_CONTAINER_RUNNING),$(BUILDKIT_CONTAINER_NAME))
|
||||
endif
|
||||
endif
|
||||
|
||||
enforce:
|
||||
@docker run --rm -v $(PWD):/src -w /src autonomy/conform:$(CONFORM_VERSION)
|
||||
|
||||
.PHONY: ci
|
||||
ci: builddeps buildkitd
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user