Added ignore_lifecycle also to mgmt-stackset to avoid update loop #214
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI - Pull Request | |
on: | |
pull_request: | |
branches: | |
- main | |
env: | |
GO_VERSION: "^1.20" | |
jobs: | |
format: | |
name: Format | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: hashicorp/setup-terraform@v2 | |
- run: make fmt | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Lint | |
run: make lint | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
example: | |
- "secure_threat_detection_cloud_logs/single/main.tf" | |
- "secure_threat_detection_event_bridge/single/main.tf" | |
- "secure_config_posture/single/main.tf" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Test | |
env: | |
EXAMPLES: examples/${{ matrix.example }} | |
run: make test |