Skip to content

Commit

Permalink
Trimming down build-and-test to the minimum and updating workflow bra…
Browse files Browse the repository at this point in the history
…nch references
  • Loading branch information
BenedekFarkas committed Dec 6, 2023
1 parent 61ed84d commit d6df622
Showing 1 changed file with 2 additions and 52 deletions.
54 changes: 2 additions & 52 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
build-and-test-standard-runners:
name: Build and Test - root solution (standard runners)
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@dev
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-743
with:
timeout-minutes: 40
set-up-sql-server: "true"
Expand All @@ -20,58 +20,8 @@ jobs:

build-and-test-nuget-test:
name: Build and Test - NuGetTest solution
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@dev
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-743
with:
build-directory: NuGetTest
timeout-minutes: 15
blame-hang-timeout: "5m"

spelling:
name: Spelling
uses: Lombiq/GitHub-Actions/.github/workflows/spelling.yml@dev
with:
additional-dictionaries: |
cspell:csharp/csharp.txt
cspell:css/dict/css.txt
cspell:fullstack/dict/fullstack.txt
cspell:html-symbol-entities/entities.txt
cspell:html/dict/html.txt
cspell:html/src/svg.txt
cspell:node/dict/node.txt
cspell:npm/dict/npm.txt
lombiq-lgha:dictionaries/Liquid.txt
lombiq-lgha:dictionaries/Xml.txt
lombiq-lgha:dictionaries/Lombiq.people.txt
powershell-static-code-analysis:
name: PowerShell Static Code Analysis
uses: Lombiq/PowerShell-Analyzers/.github/workflows/static-code-analysis.yml@dev
with:
machine-types: "['ubuntu-22.04']"

post-pull-request-checks-automation:
name: Post Pull Request Checks Automation
needs: [build-and-test-nuget-test, spelling, powershell-static-code-analysis]
if: github.event.pull_request != ''
uses: Lombiq/GitHub-Actions/.github/workflows/post-pull-request-checks-automation.yml@dev
secrets:
JIRA_BASE_URL: ${{ secrets.DEFAULT_JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.DEFAULT_JIRA_USER_EMAIL }}
JIRA_API_TOKEN: ${{ secrets.DEFAULT_JIRA_API_TOKEN }}
MERGE_TOKEN: ${{ secrets.LOMBIQBOT_GITHUB_PERSONAL_ACCESS_TOKEN }}

add-windows-build-warning-label:
name: Add Windows Build Warning Label
runs-on: ubuntu-22.04
timeout-minutes: 2
needs: [build-and-test-nuget-test, powershell-static-code-analysis]
steps:
- name: Add Windows Build Warning Label
# v2.0.0
uses: buildsville/add-remove-label@eeae411a9be2e173f2420e1644514edbecc4e835
with:
# The token is necessary to be able to add the label even if the workflow is triggered by a pull request coming
# from a fork.
token: ${{ secrets.LOMBIQBOT_GITHUB_PERSONAL_ACCESS_TOKEN }}
labels: requires-windows-build
type: add

0 comments on commit d6df622

Please sign in to comment.