Skip to content

Commit 470d6c7

Browse files
committed
Github WF: Install .NETs before build and test
1 parent b546192 commit 470d6c7

2 files changed

Lines changed: 12 additions & 10 deletions

File tree

.github/workflows/reusable-storage-dependant-tests.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,18 +116,20 @@ jobs:
116116
timeout-minutes: 10
117117
run: '${{ vars[env.DOCKER_SCRIPT_KEY] }}'
118118

119-
- name: Build Orm
120-
if: ${{ success() }}
121-
timeout-minutes: 5
122-
run: dotnet build Orm.sln -c ${{ inputs.build_config }}
123-
124119
- name: Setup .NETs
125120
if: ${{ success() }}
126121
timeout-minutes: 2
127122
uses: ./.github/actions/setup-dotnets
128123
with:
129124
target_framework: ${{ env.DO_TargetFrameworks }}
130125

126+
- name: Build Orm
127+
if: ${{ success() }}
128+
timeout-minutes: 5
129+
run: dotnet build Orm.sln -c ${{ inputs.build_config }}
130+
131+
132+
131133
# Since composite action syntax does not allow to define step timeout
132134
# we have to run Reprocessing project here, because it may stuck in forever-loop
133135
- name: Test Reprocessing extension set of tests

.github/workflows/reusable-storage-independant-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,18 +84,18 @@ jobs:
8484
if: ${{ inputs.specific_sha != '' && github.reg_type == 'branch' }}
8585
run: git checkout ${{ inputs.specific_sha }}
8686

87-
- name: Build Orm
88-
if: ${{ success() }}
89-
timeout-minutes: 5
90-
run: dotnet build Orm.sln -c ${{ inputs.build_config }}
91-
9287
- name: Setup .NETs
9388
if: ${{ success() }}
9489
timeout-minutes: 2
9590
uses: ./.github/actions/setup-dotnets
9691
with:
9792
target_framework: ${{ env.DO_TargetFrameworks }}
9893

94+
- name: Build Orm
95+
if: ${{ success() }}
96+
timeout-minutes: 5
97+
run: dotnet build Orm.sln -c ${{ inputs.build_config }}
98+
9999
- name: Run tests
100100
id: complex_tests
101101
if: ${{ success() }}

0 commit comments

Comments
 (0)