Skip to content

SEC-090: Automated trusted workflow pinning (2024-12-23) #478

SEC-090: Automated trusted workflow pinning (2024-12-23)

SEC-090: Automated trusted workflow pinning (2024-12-23) #478

---
name: Verify Data API V2 API Definitions Can be Mapped
on:
pull_request:
types: ['opened', 'synchronize']
paths:
- '.github/workflows/unit-test-data-api-v2.yaml'
- 'api-definitions/**'
- 'tools/data-api/**'
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
submodules: recursive
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version-file: ./.go-version
- name: run unit tests
run: |
cd ./tools/data-api
make test