Update README.md #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 . |