Initial commit
This commit is contained in:
parent
32f1e54b7b
commit
e993f5f636
2 changed files with 29 additions and 0 deletions
28
.forgejo/workflows/default-ci.yaml
Normal file
28
.forgejo/workflows/default-ci.yaml
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
name: CI
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
secrets-scan:
|
||||||
|
name: TruffleHog Secrets Scan
|
||||||
|
runs-on: docker
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: trufflehog-actions-scan
|
||||||
|
uses: https://github.com/edplato/trufflehog-actions-scan@master
|
||||||
|
|
||||||
|
terraform:
|
||||||
|
name: Terraform Format & Validate
|
||||||
|
runs-on: docker
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- uses: https://github.com/hashicorp/setup-terraform@v3
|
||||||
|
with:
|
||||||
|
terraform_version: "1.5.7"
|
||||||
|
|
||||||
|
- name: Format Terraform Code
|
||||||
|
run: terraform fmt -recursive -check
|
||||||
1
.terraform-version
Normal file
1
.terraform-version
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
v1.5.7
|
||||||
Loading…
Reference in a new issue