Skip to content

Commit dff0dca

Browse files
committed
pin dotnet version in pipeline
1 parent 82eebb4 commit dff0dca

File tree

130 files changed

+6185
-6179
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+6185
-6179
lines changed

LICENSE

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
MIT License
2-
3-
Copyright (c) 2020 fiskaltrust
4-
5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
11-
12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
14-
15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
1+
MIT License
2+
3+
Copyright (c) 2020 fiskaltrust
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

azure-pipelines.yml

Lines changed: 30 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -12,76 +12,82 @@ pr:
1212
- master
1313

1414
variables:
15-
- group: 'Code Signing Certificates'
15+
- group: "Code Signing Certificates"
1616
- name: BuildConfiguration
1717
value: release
1818
- name: BuildPlatform
1919
value: any cpu
2020
- name: Solution
21-
value: 'fiskaltrust.Middleware.Interface.sln'
21+
value: "fiskaltrust.Middleware.Interface.sln"
2222

2323
jobs:
2424
- job: Build
2525
pool:
2626
vmImage: windows-latest
2727
steps:
28+
- task: UseDotNet@2
29+
displayName: "Install .NET 6 SDK"
30+
inputs:
31+
packageType: "sdk"
32+
version: "6.x"
33+
2834
- task: VisualStudioTestPlatformInstaller@1
2935
displayName: VsTest Platform Installer
3036

3137
- task: yavt@1
3238
inputs:
33-
mode: 'Multi'
34-
semverVersion: 'v1'
39+
mode: "Multi"
40+
semverVersion: "v1"
3541

3642
- task: DotNetCoreCLI@2
3743
displayName: Restore
3844
inputs:
39-
command: 'restore'
40-
projects: '**/*.csproj'
41-
feedsToUse: 'select'
42-
vstsFeed: 'dev' # TODO Remove before merge
45+
command: "restore"
46+
projects: "**/*.csproj"
47+
feedsToUse: "select"
48+
vstsFeed: "dev" # TODO Remove before merge
4349

4450
- task: DotNetCoreCLI@2
4551
displayName: Build
4652
inputs:
47-
projects: '$(Solution)'
48-
arguments: '--configuration $(BuildConfiguration)'
53+
projects: "$(Solution)"
54+
arguments: "--configuration $(BuildConfiguration)"
4955

5056
- task: codesigning@2
51-
displayName: 'Code Signing '
57+
displayName: "Code Signing "
5258
inputs:
53-
secureFileId: 'codesigning.pfx'
54-
signCertPassword: '$(Code_Signing_Password)'
59+
secureFileId: "codesigning.pfx"
60+
signCertPassword: "$(Code_Signing_Password)"
5561
filePaths: |
5662
**/fiskaltrust*.dll
5763
**/fiskaltrust*.exe
5864
5965
- script: dotnet test --no-build --configuration $(buildConfiguration) --test-adapter-path:. --logger:nunit;LogFilePath=TestResults.xml
60-
displayName: 'dotnet test ifPOS'
61-
workingDirectory: 'test\fiskaltrust.ifPOS.Tests'
66+
displayName: "dotnet test ifPOS"
67+
workingDirectory: 'test\fiskaltrust.ifPOS.Tests'
6268

6369
- script: dotnet test --no-build --configuration $(buildConfiguration) --test-adapter-path:. --logger:nunit;LogFilePath=TestResults.xml
64-
displayName: 'dotnet test Clients'
65-
workingDirectory: 'test\fiskaltrust.Middleware.Interface.Client.Tests'
70+
displayName: "dotnet test Clients"
71+
workingDirectory: 'test\fiskaltrust.Middleware.Interface.Client.Tests'
6672

6773
- task: PublishTestResults@2
68-
displayName: 'Publish Test Results'
74+
displayName: "Publish Test Results"
6975
inputs:
7076
testResultsFormat: NUnit
71-
testResultsFiles: '**/*TestResults*.xml'
77+
testResultsFiles: "**/*TestResults*.xml"
7278
mergeTestResults: true
7379
failTaskOnFailedTests: true
7480
buildConfiguration: $(buildConfiguration)
7581

7682
- task: DotNetCoreCLI@2
7783
displayName: dotnet pack
7884
inputs:
79-
command: 'pack'
80-
packagesToPack: 'src/**/*.csproj'
85+
command: "pack"
86+
packagesToPack: "src/**/*.csproj"
8187
nobuild: true
82-
versioningScheme: 'off'
88+
versioningScheme: "off"
8389

8490
- task: PublishBuildArtifacts@1
85-
displayName: 'Publish Artifact: drop'
91+
displayName: "Publish Artifact: drop"
8692
inputs:
87-
PathtoPublish: '$(build.artifactstagingdirectory)'
93+
PathtoPublish: "$(build.artifactstagingdirectory)"

0 commit comments

Comments
 (0)