Skip to content

chore(deps): Bump github.com/hashicorp/hcl/v2 from 2.21.0 to 2.22.0 #24

chore(deps): Bump github.com/hashicorp/hcl/v2 from 2.21.0 to 2.22.0

chore(deps): Bump github.com/hashicorp/hcl/v2 from 2.21.0 to 2.22.0 #24

Workflow file for this run

---
# This workflow triggers on pull requests and pushes to the main branch.
# It uses Packer at latest version to init, validate and build
# an example configuration in a folder.
# This action is compatible with Packer v1.7.0 or later.
name: validate
env:
PRODUCT_VERSION: "1.8.6"
on:
push:
paths:
- "go.mod"
- "go.sum"
- "**.go"
branches:
- main
pull_request:
paths:
- "go.mod"
- "go.sum"
- "**.go"
branches:
- main
jobs:
validate:
runs-on: ubuntu-latest
name: validate
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup `packer`
uses: hashicorp/setup-packer@main
id: setup
with:
version: ${{ env.PRODUCT_VERSION }}
- name: Run `packer init`
id: init
run: |
cd example
packer init .
- name: Run `packer validate`
id: validate
run: |
cd example
packer validate .