Skip to content

chore(deps): update github actions #1786

chore(deps): update github actions

chore(deps): update github actions #1786

Workflow file for this run

name: Formatting
on:
push:
branches:
- main
pull_request:
branches:
- "**"
jobs:
format:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Show commit SHA
run: |
git rev-parse HEAD
git rev-parse --short HEAD
- name: Install terraform
run: |
if ! which terraform 2>/dev/null; then
sh tools/install/terraform.sh
fi
- name: Check Format
run: terraform fmt -check -recursive -diff