Skip to content

SEC-090: Automated trusted workflow pinning (2024-05-06) #367

SEC-090: Automated trusted workflow pinning (2024-05-06)

SEC-090: Automated trusted workflow pinning (2024-05-06) #367

---
name: Terraform Generator (Unit Tests)
on:
pull_request:
types: ['opened', 'synchronize']
paths:
- '.github/workflows/**'
- 'tools/generator-terraform/**'
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
with:
submodules: recursive
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version-file: ./.go-version
- name: run unit tests
run: |
cd ./tools/generator-terraform
make test