Skip to content

Commit 4f95c52

Browse files
committed
fixup! fixup! .github/workflows: add workflows for linting nomad and terraform formatting
1 parent 6ad1da5 commit 4f95c52

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/nomad-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Run Lints
3535
run: |
3636
rv=0
37-
printf "\e[1m=> Checking formatting of nomad files\e[0m\n"
37+
printf "\033[1m=> Checking formatting of nomad files\033[0m\n"
3838
nomad fmt -check -recursive services/nomad || rv=1
3939
exit "$rv"
4040

.github/workflows/terraform-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ jobs:
2626
- name: Prepare container
2727
run: |
2828
xbps-install -Syu xbps && xbps-install -y void-repo-nonfree && \
29-
xbps-install -Syu && xbps-install -y terraform bash git
29+
xbps-install -Syu && xbps-install -y terraform bash git diff
3030
3131
- name: Checkout repo
3232
uses: classabbyamp/treeless-checkout-action@v1
3333

3434
- name: Run Lints
3535
run: |
3636
rv=0
37-
printf "\e[1m=> Checking formatting of terraform files\e[0m\n"
37+
printf "\033[1m=> Checking formatting of terraform files\033[0m\n"
3838
terraform fmt -check -diff -recursive terraform || rv=1
3939
exit "$rv"
4040

0 commit comments

Comments
 (0)