Skip to content

Commit

Permalink
Add gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
juliendoutre committed Jan 26, 2025
1 parent c339a72 commit f92113b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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

0 comments on commit f92113b

Please sign in to comment.