Skip to content

Add gh actions

Add gh actions #1

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- '*'
permissions:
contents: read
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Terraform
uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
- name: Lint Terraform
run: terraform fmt -check
- name: Validate Terraform
run: terraform validate
- name: Check bash
run: shellcheck ./enforce.sh