This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
Plugins Tests (Terraform) - 8526254075 - @marcoandredinis #1050
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: Plugins Tests (Terraform) | |
run-name: Plugins Tests (Terraform) - ${{ github.run_id }} - @${{ github.actor }} | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
env: | |
TELEPORT_ENTERPRISE_LICENSE: ${{ secrets.TELEPORT_ENTERPRISE_LICENSE }} | |
jobs: | |
test: | |
name: Plugins Tests (Terraform) | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout Teleport Plugins | |
uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: 'go.mod' | |
- name: Setup Terraform | |
uses: hashicorp/setup-terraform@v2 | |
with: | |
terraform_version: '1.7.5' | |
terraform_wrapper: false | |
- name: Install Teleport | |
uses: teleport-actions/setup@v1 | |
with: | |
version: 15.2.0 | |
enterprise: true | |
- name: make test-terraform | |
run: make test-terraform |