move shards install to install stage

This commit is contained in:
Nemo 2020-04-02 20:20:55 +05:30
parent 81dc6e0a76
commit 71325be236
1 changed files with 1 additions and 1 deletions

View File

@ -8,8 +8,8 @@ install:
# Download hadolint binary and set it as executable
- curl -sL -o ${HADOLINT} "https://github.com/hadolint/hadolint/releases/download/v1.17.5/hadolint-$(uname -s)-$(uname -m)"
&& chmod 700 ${HADOLINT}
script:
- shards install
script:
- crystal spec
- crystal tool format --check
- git ls-files --exclude='Dockerfile*' --ignored | xargs --max-lines=1 ${HADOLINT}