Skip to content

SEC-090: Automated trusted workflow pinning (2024-11-04) #463

SEC-090: Automated trusted workflow pinning (2024-11-04)

SEC-090: Automated trusted workflow pinning (2024-11-04) #463

---
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@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version-file: ./.go-version
- name: run unit tests
run: |
cd ./tools/data-api
make test