Skip to content

Commit

Permalink
Add lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
smokestacklightnin committed Sep 22, 2024
1 parent bbd0078 commit f346716
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: pre-commit

on:
pull_request:
push:
branches: [main]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: 3.11

- uses: opentofu/setup-opentofu@v1

# If we use tflint, then we will need to use this action
# - uses: terraform-linters/setup-tflint@v4

- uses: pre-commit/action@v3

0 comments on commit f346716

Please sign in to comment.