DPC-5159 multi csp user POC #151
This file contains hidden or 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: Opt-Out-Import Unit Tests | |
| on: | |
| pull_request: | |
| paths: | |
| - .github/workflows/opt-out-import-unit.yml | |
| - lambda/opt-out-import/** | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| permissions: | |
| contents: read | |
| id-token: write | |
| runs-on: codebuild-dpc-app-${{github.run_id}}-${{github.run_attempt}} | |
| defaults: | |
| run: | |
| working-directory: ./lambda/opt-out-import | |
| steps: | |
| - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
| - uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0 | |
| with: | |
| go-version: '>=1.24.4' | |
| - name: check go version | |
| run: go version | |
| - name: Run unit tests for opt-out-import lambda | |
| run: make unit-test |