Add Versification Cache and Bible Texts utility #1672
Workflow file for this run
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: Pre-merge | |
on: | |
pull_request: | |
branches: | |
- '**' | |
permissions: | |
id-token: write | |
jobs: | |
lint_and_test: | |
name: Lint and test | |
runs-on: ubuntu-latest | |
environment: | |
name: qa-tests | |
steps: | |
- name: Checkout source code | |
uses: actions/[email protected] | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Setup .NET | |
uses: actions/[email protected] | |
with: | |
dotnet-version: '9.x' | |
- name: Build | |
run: dotnet build --no-incremental --configuration Release /p:WarningsAsErrors=true /warnaserror | |
- name: Login to Azure | |
uses: azure/[email protected] | |
with: | |
client-id: ${{ secrets.AZURE_CLIENT_ID }} | |
tenant-id: ${{ secrets.AZURE_TENANT_ID }} | |
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} | |
- name: Test | |
run: | | |
dotnet test \ | |
-e ASPNETCORE_ENVIRONMENT="${{ vars.ASPNETCORE_ENVIRONMENT }}" \ | |
-e ConnectionStrings__AzureStorageAccount="${{ secrets.AZURE_STORAGE_ACCOUNT_CONNECTION_STRING }}" \ | |
-e ConnectionStrings__BiblioNexusDb="${{ secrets.BIBLIONEXUS_DB_CONNECTION_STRING }}" \ | |
-e KeyVaultUri="${{ secrets.KEY_VAULT_URI }}" \ | |
-e JwtSettings__Authority="${{ secrets.JWT_SETTINGS_AUTHORITY }}" \ | |
-e JwtSettings__Audience="${{ secrets.JWT_SETTINGS_AUDIENCE }}" \ | |
-e Auth0Settings__ApiClientId="${{ secrets.AUTH0SETTINGS_API_CLIENT_ID }}" \ | |
-e Auth0Settings__ApplicationClientId="${{ secrets.AUTH0SETTINGS_APPLICATION_CLIENT_ID }}" \ | |
-e Auth0Settings__Audience="${{ secrets.AUTH0_SETTINGS_AUDIENCE }}" \ | |
-e Auth0Settings__BaseUri="${{ secrets.AUTH0_SETTINGS_BASE_URI }}" |