Skip to content

BREAKING: remove v3 and deprecations #382

BREAKING: remove v3 and deprecations

BREAKING: remove v3 and deprecations #382

Workflow file for this run

name: CI/CD Pipeline
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: terraform-github-repository
cancel-in-progress: false
jobs:
pre-commit:
runs-on: ubuntu-latest
name: Static Analysis
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run pre-commit
run: make test/docker/pre-commit
unit-tests:
needs: pre-commit
runs-on: ubuntu-latest
name: Unit Tests
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Check for Terraform file changes
uses: getsentry/paths-filter@v2
id: changes
with:
token: ${{ github.token }}
filters: |
terraform:
- '**/*.tf'
- '**/*.go'
- 'go.mod'
- 'go.sum'
- name: Run Unit Tests
if: steps.changes.outputs.terraform == 'true'
run: make test/docker/unit-tests
env:
GITHUB_OWNER: ${{ secrets.TEST_GITHUB_ORGANIZATION }}
GITHUB_TOKEN: ${{ secrets.TEST_GITHUB_TOKEN }}