Skip to content

Bump actions/checkout from 4.1.6 to 4.1.7 in the actions group #11

Bump actions/checkout from 4.1.6 to 4.1.7 in the actions group

Bump actions/checkout from 4.1.6 to 4.1.7 in the actions group #11

Workflow file for this run

# Copyright 2024 The Sigstore Authors
# SPDX-License-Identifier: Apache-2.0
name: terraform-lint-validate
on:
push:
branches:
- main
pull_request:
jobs:
lint-and-validate:
name: terraform-lint-validate
runs-on: ubuntu-latest
if: github.repository == 'sigstore/sigstore-devops-tools'
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8 # v3.1.1
with:
terraform_version: 1.8
- run: terraform fmt -check
- run: cp $GITHUB_WORKSPACE/.github/testdata/backend_override.tf $GITHUB_WORKSPACE/iac
- working-directory: ./iac
run: |
terraform init
terraform validate