Skip to content

Update README.md

Update README.md #3

name: Packer validations
on: [pull_request]
jobs:
build-node:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup `packer`
uses: hashicorp/setup-packer@main
id: setup
with:
version: "latest"
- name: Run `packer init`
id: init
run: |
cd packer
packer init build.pkr.hcl
- name: Run `packer format`
run: |
cd packer
packer fmt -check .
- name: Run `packer validate`
run: |
cd packer
packer validate .