Skip to content

Commit a70e058

Browse files
committed
Added initial GitHub workflows
1 parent 19dce68 commit a70e058

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

.github/workflows/black.yaml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Lint
2+
on:
3+
- push
4+
- pull_request
5+
jobs:
6+
python-lint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- uses: psf/black@stable
11+
with:
12+
options: "--check --verbose"
13+
src: "./"
14+
version: "~= 22.0"

.github/workflows/terraform.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Terraform validation
2+
on:
3+
- push
4+
- pull_request
5+
jobs:
6+
terraform:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- uses: hashicorp/setup-terraform@v3
11+
with:
12+
terraform_version: "1.5.7" # Cloud Shell version
13+
14+
- name: terraform fmt
15+
id: fmt
16+
run: terraform fmt -check -recursive

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# IDEs
2+
*.code-workspace

0 commit comments

Comments
 (0)