Skip to content

chore(deps): bump actions/checkout from 4.1.1 to 4.2.0 #13

chore(deps): bump actions/checkout from 4.1.1 to 4.2.0

chore(deps): bump actions/checkout from 4.1.1 to 4.2.0 #13

Workflow file for this run

name: "Packer checks"
on:
push:
branches:
- main
pull_request:
paths:
- "images/**"
- ".github/workflows/packer-build.yml"
- "module/runners/templates/**"
env:
AWS_REGION: eu-west-1
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
verify_packer:
name: Verify packer
runs-on: ubuntu-latest
container:
image: index.docker.io/hashicorp/packer@sha256:297bbbbbbf3ce9e0431ac1e8f02934b20e1197613f877b55dfdb1ebfd94eb748 # ratchet:index.docker.io/hashicorp/packer:1.8.6
strategy:
matrix:
image: ["linux-al2023", "windows-core-2019", "windows-core-2022", "ubuntu-focal", "ubuntu-jammy", "ubuntu-jammy-arm64"]
defaults:
run:
working-directory: images/${{ matrix.image }}
steps:
- name: "Checkout"
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # ratchet:actions/checkout@v4
- name: packer init
run: packer init .
- name: check packer formatting
run: packer fmt -recursive -check=true .
- name: packer validate
run: packer validate -evaluate-datasources .