This repository has been archived by the owner on Jan 5, 2025. It is now read-only.
AB#30325 make app reg an enterprise app (#3) #7
This file contains 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: CI | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
bvt: | |
name: Build Verification Test | |
uses: ./.github/workflows/bvt.yaml | |
with: | |
service_name: 'api' | |
project_folder: 'Api' | |
secrets: inherit | |
swagger_docs: | |
runs-on: ubuntu-latest | |
name: Generate Swagger Docs | |
needs: bvt | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Build and Publish Swagger Docs | |
run: mkdir -p ${{ github.workspace }}/swagger-artifacts && bash ${{ github.workspace }}/.pipelines/scripts/generate-swagger.sh ${{ github.workspace }}/swagger-artifacts | |
env: | |
ASPNETCORE_ENVIRONMENT: 'Local' | |
- name: Publish Swagger Doc as Pipeline Artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: SwaggerDoc | |
path: ${{ github.workspace }}/swagger-artifacts/dex-swagger.json | |
static_code_analysis: | |
name: Static Code Analysis | |
uses: ./.github/workflows/static-code-analysis.yaml | |