You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run: if (for file in $(find . -type f -not -path './.git/*' -not -path './.git-crypt/*' -not -path './terraform/secrets/*') ; do [ "$(tail -c 1 < "${file}")" == "" ] || echo "${file} has no newline at the end..." ; done) | grep . ; then exit 1 ; fi
17
+
- name: Checking for trailing whitespaces
18
+
run: if find . -type f -not -path './.git/*' -exec egrep -l " +$" {} \; | grep . ; then exit 1 ; fi
19
+
20
+
- name: Running shellcheck on *.sh files
21
+
run: |
22
+
find . -name .git -type d -prune -o -type f -name \*.sh -print0 |
23
+
xargs -0 -r -n1 shellcheck
24
+
helm_lint:
25
+
runs-on: ubuntu-latest
26
+
steps:
27
+
- uses: actions/checkout@v2
28
+
- name: run helm lint on hpcs-stack
29
+
run: docker run --rm -v $(pwd)/k8s:/apps alpine/helm:latest lint hpcs-stack
30
+
terraform_lint:
31
+
runs-on: ubuntu-latest
32
+
steps:
33
+
- uses: actions/checkout@v2
34
+
- name: run terraform fmt
35
+
run: docker run --rm -v $(pwd):/data docker.io/hashicorp/terraform fmt -check /data/terraform
0 commit comments