4848 echo "is-preview:${{ startsWith(github.ref_name, 'preview') }}"
4949
5050 versioning :
51- name : ' Determine assembly version '
51+ name : ' Determine versions '
5252 needs : [workflow-variables]
5353 runs-on : ubuntu-latest
5454
6262 steps :
6363 - name : ' Checkout ${{ github.head_ref || github.ref }}'
6464 uses : actions/checkout@v4
65- - uses : ./.github/actions/determine-version
65+ - name : ' Determine versions'
66+ uses : ./.github/actions/determine-version
6667 id : determine-version
6768 with :
6869 config-file-path : ' ./.gitversion/version.yml'
8283 - name : ' Checkout ${{ github.head_ref || github.ref }}'
8384 uses : actions/checkout@v4
8485
85- - uses : ./.github/actions/build
86+ - name : ' Compile source code'
87+ uses : ./.github/actions/build
8688 with :
8789 project-path : ' **/PolylineAlgorithm.csproj'
8890 assembly-version : ${{ env.assembly-version }}
@@ -103,21 +105,24 @@ jobs:
103105 with :
104106 dotnet-version : ${{ env.dotnet-sdk-version }}
105107
106- - uses : ./.github/actions/test
108+ - name : ' Run tests'
109+ uses : ./.github/actions/test
107110 with :
108111 project-path : ' **/PolylineAlgorithm.Tests.csproj'
109112 test-results-directory : ' ${{ runner.temp }}/${{ env.test-result-directory }}/'
110113 code-coverage-settings-file : ' ${{ github.workspace}}/code-coverage-settings.xml'
111114
112- - uses : ./.github/actions/test-report
115+ - name : ' Generate test report'
116+ uses : ./.github/actions/test-report
113117 id : test-report
114118 with :
115119 test-result-folder : ' ${{ runner.temp }}/${{ env.test-result-directory }}/'
116120
117121 - name : Write test report summary
118122 run : cat ${{ steps.test-report.outputs.test-report-file }} >> $GITHUB_STEP_SUMMARY
119123
120- - uses : ./.github/actions/code-coverage
124+ - name : ' Generate code coverage'
125+ uses : ./.github/actions/code-coverage
121126 id : code-coverage-report
122127 with :
123128 test-result-folder : ' ${{ runner.temp }}/${{ env.test-result-directory }}/'
0 commit comments