File tree 3 files changed +34
-0
lines changed
3 files changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ # https://black.readthedocs.io/en/stable/integrations/github_actions.html
2
+ name : Python lint
3
+ on :
4
+ - push
5
+ - pull_request
6
+ jobs :
7
+ python-lint :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v4
11
+ - uses : psf/black@stable
12
+ with :
13
+ options : " --check --verbose"
14
+ src : " ./"
15
+ version : " ~= 22.0"
Original file line number Diff line number Diff line change
1
+ # https://github.com/hashicorp/setup-terraform
2
+ name : Terraform validation
3
+ on :
4
+ - push
5
+ - pull_request
6
+ jobs :
7
+ terraform-fmt :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v4
11
+ - uses : hashicorp/setup-terraform@v3
12
+ with :
13
+ terraform_version : " 1.5.7" # Cloud Shell version
14
+
15
+ - name : terraform fmt
16
+ id : fmt
17
+ run : terraform fmt -check -recursive
Original file line number Diff line number Diff line change
1
+ # IDEs
2
+ * .code-workspace
You can’t perform that action at this time.
0 commit comments