Skip to content

Commit 7633c4e

Browse files
committed
Testing issue/OSOE-925 LGHA for builds
1 parent e0eaacb commit 7633c4e

File tree

1 file changed

+3
-52
lines changed

1 file changed

+3
-52
lines changed

.github/workflows/build-and-test.yml

Lines changed: 3 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ on:
99

1010
jobs:
1111
build-and-test-larger-runners:
12-
if: github.ref_name != github.event.repository.default_branch
1312
name: Build and Test - root solution (larger runners)
14-
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@dev
13+
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-925
1514
with:
1615
parent-job-name: root-solution-larger-runners
1716
machine-types: '["warp-ubuntu-2404-x64-4x"]'
@@ -29,9 +28,8 @@ jobs:
2928
node-version: none
3029

3130
build-and-test-standard-runners:
32-
if: github.ref_name == github.event.repository.default_branch
3331
name: Build and Test - root solution (standard runners)
34-
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@dev
32+
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-925
3533
with:
3634
# Since dev builds are not awaited by anyone, they can run on the slower free runners.
3735
parent-job-name: root-solution-standard-runners
@@ -50,7 +48,7 @@ jobs:
5048

5149
build-and-test-nuget-test:
5250
name: Build and Test - NuGetTest solution
53-
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@dev
51+
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-925
5452
with:
5553
parent-job-name: nuget-solution
5654
build-directory: NuGetTest
@@ -60,50 +58,3 @@ jobs:
6058
build-verbosity: minimal
6159
ui-test-retry-interval-seconds: '60'
6260
node-version: none
63-
64-
codespell:
65-
name: Codespell
66-
uses: Lombiq/GitHub-Actions/.github/workflows/codespell.yml@dev
67-
68-
asset-lint:
69-
name: Lint Assets
70-
uses: Lombiq/GitHub-Actions/.github/workflows/asset-lint.yml@dev
71-
72-
powershell-static-code-analysis:
73-
name: PowerShell Static Code Analysis
74-
uses: Lombiq/PowerShell-Analyzers/.github/workflows/static-code-analysis.yml@dev
75-
with:
76-
machine-types: '["ubuntu-24.04"]'
77-
78-
yaml-linting:
79-
name: YAML Linting
80-
uses: Lombiq/GitHub-Actions/.github/workflows/yaml-lint.yml@dev
81-
with:
82-
config-file-path: tools/Lombiq.GitHub.Actions/.trunk/configs/.yamllint.yaml
83-
search-path: .
84-
85-
post-pull-request-checks-automation:
86-
name: Post Pull Request Checks Automation
87-
needs: [build-and-test-larger-runners, build-and-test-nuget-test, codespell, asset-lint, powershell-static-code-analysis]
88-
if: github.event.pull_request != ''
89-
uses: Lombiq/GitHub-Actions/.github/workflows/post-pull-request-checks-automation.yml@dev
90-
secrets:
91-
JIRA_BASE_URL: ${{ secrets.DEFAULT_JIRA_BASE_URL }}
92-
JIRA_USER_EMAIL: ${{ secrets.DEFAULT_JIRA_USER_EMAIL }}
93-
JIRA_API_TOKEN: ${{ secrets.DEFAULT_JIRA_API_TOKEN }}
94-
MERGE_TOKEN: ${{ secrets.LOMBIQBOT_GITHUB_PERSONAL_ACCESS_TOKEN }}
95-
96-
add-windows-build-warning-label:
97-
name: Add Windows Build Warning Label
98-
runs-on: ubuntu-24.04
99-
timeout-minutes: 2
100-
needs: [build-and-test-larger-runners, build-and-test-nuget-test, powershell-static-code-analysis]
101-
steps:
102-
- name: Add Windows Build Warning Label
103-
uses: Lombiq/GitHub-Actions/.github/actions/add-remove-label@dev
104-
with:
105-
# The token is necessary to be able to add the label even if the workflow is triggered by a pull request
106-
# coming from a fork.
107-
token: ${{ secrets.LOMBIQBOT_GITHUB_PERSONAL_ACCESS_TOKEN }}
108-
labels: requires-windows-build
109-
type: add

0 commit comments

Comments
 (0)