Skip to content

Add acceptance test GHA workflow for CI #28

Add acceptance test GHA workflow for CI

Add acceptance test GHA workflow for CI #28

Workflow file for this run

name: CI
on:
pull_request:
branches:
- 'main'
push:
branches:
- 'main'
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
cache: true
- name: vet
run: |
go vet ./...
acctest:
needs: build
if: ${{ github.event_name == 'pull_request' }}
name: Acceptance Tests
uses: ./.github/workflows/acctest.yaml
secrets: inherit
with:
terraform-version: '1.9.*'