Add support for iae_post and iae_post.jwt response modes #521
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: Push trigger | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - develop | |
| - feature/** | |
| - hotfix/** | |
| - 'release-**' | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| branches: | |
| - main | |
| - develop | |
| - feature/** | |
| - hotfix/** | |
| - 'release-**' | |
| jobs: | |
| build-swift: | |
| runs-on: macos-14 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Environment details | |
| run: | | |
| xcodebuild -version | |
| xcrun simctl list devices | |
| - name: Set up Xcode | |
| run: sudo xcode-select -s /Applications/Xcode.app/Contents/Developer | |
| - name: Build project | |
| run: xcodebuild -scheme OpenID4VP -destination 'generic/platform=iOS' build | |
| - name: Run tests | |
| run: xcodebuild test -scheme OpenID4VPTests -destination 'platform=iOS Simulator,OS=latest,name=iPhone 15' | |
| - name: Notify on Slack | |
| uses: 8398a7/action-slack@v3 | |
| with: | |
| status: ${{ job.status }} | |
| fields: repo,message,author,commit,workflow,job | |
| env: | |
| SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_INJI_TEAM }} | |
| if: "${{ github.event_name != 'pull_request' && failure() }}" | |
| sonar_analysis: | |
| uses: mosip/kattu/.github/workflows/swift-sonar-analysis.yml@develop | |
| if: "${{ github.event_name != 'pull_request' }}" | |
| with: | |
| SERVICE_LOCATION: "." | |
| TEST_SCHEME: "OpenID4VPTests" | |
| secrets: | |
| SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
| ORG_KEY: ${{ secrets.ORG_KEY }} | |
| SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_INJI_TEAM }} |