TTSD-5652 enforce minimum TLS version 1.2 #6
Workflow file for this run
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: Build | |
on: | |
push: | |
branches: | |
# Build on main too. | |
# This helps with cache performance: | |
# https://github.com/actions/cache/blob/main/tips-and-workarounds.md#use-cache-across-feature-branches | |
- main | |
workflow_dispatch: # Allows to trigger workflow manually | |
pull_request: | |
jobs: | |
terraform_check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/[email protected] | |
with: | |
files: | | |
service/** | |
fetch_depth: 2 | |
- name: Cache ASDF | |
if: steps.changed-files.outputs.any_changed == 'true' | |
id: cache-asdf | |
uses: actions/cache@v3 | |
with: | |
path: ~/.asdf | |
key: ${{ runner.os }}-asdf | |
- name: Check Terraform Formatting and Docs | |
if: steps.changed-files.outputs.any_changed == 'true' | |
run: ./scripts/terraform_format_and_docs.sh |