Skip to content

Bump terraform-docs/gh-actions from 1.0.0 to 1.1.0 #13

Bump terraform-docs/gh-actions from 1.0.0 to 1.1.0

Bump terraform-docs/gh-actions from 1.0.0 to 1.1.0 #13

Workflow file for this run

name: Tests
on:
pull_request_target:
branches: ['main']
push:
branches: ['main']
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
example:
- 'static'
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
ref: refs/pull/${{ github.event.pull_request.number }}/merge
- uses: actions/setup-go@v4
with:
go-version: '1.21'
- uses: chainguard-dev/actions/setup-registry@main
with:
port: 5000
- uses: hashicorp/setup-terraform@v2
with:
terraform_version: '1.3.*'
terraform_wrapper: false
- working-directory: ./examples/${{ matrix.example }}
run: |
export TF_VAR_target_repository=localhost:5000/${{ matrix.example }}
terraform init -upgrade
terraform apply -auto-approve