build: add linter options.
This commit is contained in:
parent
24affe46f2
commit
a53f10e431
3 changed files with 17 additions and 6 deletions
|
|
@ -23,7 +23,7 @@ bash:
|
|||
image: koalaman/shellcheck-alpine
|
||||
script:
|
||||
- shellcheck --shell=bash
|
||||
PKGBUILD dists/build.sh
|
||||
PKGBUILD dists/build.sh dists/docker.sh
|
||||
tests/packer/init/init.sh tests/packer/src/aa-update tests/packer/init/clean.sh
|
||||
debian/apparmor.d.postinst debian/apparmor.d.postrm
|
||||
|
||||
|
|
@ -33,6 +33,16 @@ golangci-lint:
|
|||
script:
|
||||
- golangci-lint run
|
||||
|
||||
packer:
|
||||
stage: lint
|
||||
image:
|
||||
name: hashicorp/packer:latest
|
||||
entrypoint: [""]
|
||||
script:
|
||||
- cd tests &&
|
||||
packer fmt --check packer/ &&
|
||||
packer validate --syntax-only packer/
|
||||
|
||||
sast:
|
||||
stage: lint
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue