tests: lint the packer config in CI

This commit is contained in:
Jose Diaz-Gonzalez
2023-02-16 14:19:42 -05:00
parent 96c737eae4
commit 6c099c4ad0
2 changed files with 26 additions and 0 deletions

View File

@@ -34,6 +34,21 @@ jobs:
config: '.github/linters/.markdown-lint.yml'
args: './README.md'
packer:
name: packer
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup packer
uses: hashicorp/setup-packer@main
with:
version: latest
- name: Run packer init
run: "make image/init/digitalocean"
- name: Run `packer validate`
run: "make image/validate/digitalocean"
shellcheck:
name: shellcheck
runs-on: ubuntu-20.04