OCC-257: Implement custom Package.Build.props file that declares NuGet dependencies as ModulePackageNames. #1391
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: Build and Test | |
# Runs for PRs opened for any branch, and pushes to the main branch. | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-test-linux: | |
name: Build and Test (Linux) | |
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@dev | |
with: | |
machine-types: '["ubuntu-24.04"]' | |
timeout-minutes: 60 | |
build-and-test-windows: | |
name: Build and Test (Windows) | |
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@dev | |
with: | |
machine-types: '["windows-2022"]' | |
timeout-minutes: 60 | |
# Running ZAP for security scans in Docker under GHA Windows runners won't work since such virtualization is not | |
# supported by GHA. | |
test-filter: "FullyQualifiedName!~SecurityScanningTests" | |
spelling: | |
name: Spelling | |
uses: Lombiq/GitHub-Actions/.github/workflows/spelling.yml@dev | |
with: | |
additional-dictionaries: | | |
cspell:csharp/csharp.txt | |
cspell:html/dict/html.txt | |
lombiq-lgha:dictionaries/Liquid.txt | |
lombiq-lgha:dictionaries/Lombiq.people.txt | |
lombiq-lgha:dictionaries/Security.txt | |
post-pull-request-checks-automation: | |
needs: [build-and-test-linux, build-and-test-windows, spelling] | |
if: github.event.pull_request != '' | |
uses: Lombiq/GitHub-Actions/.github/workflows/post-pull-request-checks-automation.yml@dev | |
secrets: | |
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} | |
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} | |
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} | |
MERGE_TOKEN: ${{ secrets.LOMBIQBOT_GITHUB_PERSONAL_ACCESS_TOKEN }} | |
with: | |
merge-method: "squash" |