Skip to content

Commit 047e74b

Browse files
committed
ci: introduce packages.lock.json
Signed-off-by: Kenny Pflug <kenny.pflug@live.de>
1 parent 0f75eae commit 047e74b

4 files changed

Lines changed: 229 additions & 5 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
restore-keys: |
2525
nuget-${{ runner.os }}-
2626
- name: Restore dependencies
27-
run: dotnet restore ./Light.TemporaryStreams.sln
27+
run: dotnet restore ./Light.TemporaryStreams.sln /p:ContinuousIntegrationBuild=true
2828
- name: Build
29-
run: dotnet build ./Light.TemporaryStreams.sln --configuration Release --no-restore
29+
run: dotnet build ./Light.TemporaryStreams.sln --configuration Release --no-restore /p:ContinuousIntegrationBuild=true
3030
- name: Test
31-
run: dotnet test ./Light.TemporaryStreams.sln --configuration Release --no-build --no-restore --verbosity normal
31+
run: dotnet test ./Light.TemporaryStreams.sln --configuration Release --no-build --verbosity normal

Directory.Build.props

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
<Project>
1+
<Project>
22
<PropertyGroup>
33
<TargetFramework>net8.0</TargetFramework>
44
<Nullable>enable</Nullable>
55
<ImplicitUsings>disable</ImplicitUsings>
6+
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
7+
<RestoreLockedMode Condition="'$(ContinuousIntegrationBuild)' == 'true'">true</RestoreLockedMode>
68
</PropertyGroup>
7-
</Project>
9+
</Project>
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"version": 2,
3+
"dependencies": {
4+
"net8.0": {
5+
"Light.GuardClauses": {
6+
"type": "Direct",
7+
"requested": "[13.0.0, )",
8+
"resolved": "13.0.0",
9+
"contentHash": "mhlWUk0o+XibJgYuPlO9vQQpMmh4EAeDRFAac7pP6W3zmpjEeyUVGOiw+mdCxX469QQ2rkMYjWyHoDlZv599/w=="
10+
},
11+
"Microsoft.NET.ILLink.Tasks": {
12+
"type": "Direct",
13+
"requested": "[8.0.16, )",
14+
"resolved": "8.0.16",
15+
"contentHash": "0H1QaKpVibe++Zx6EYJQGhrpfz2bBPGiQ7Rpsmx8I3+oKv+ZRRIfVfmcj50KuZlhhRE6V02y5bUjP+V2oPM2ng=="
16+
}
17+
}
18+
}
19+
}
Lines changed: 203 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,203 @@
1+
{
2+
"version": 2,
3+
"dependencies": {
4+
"net8.0": {
5+
"FluentAssertions": {
6+
"type": "Direct",
7+
"requested": "[7.2.0, 7.2.0]",
8+
"resolved": "7.2.0",
9+
"contentHash": "k94gV49Otru4e9nKtj36KpA9UkjuAGKPmhfM0oqyI+rrtxhSrgaeEhILR0AbJ9iNaoagAeQtawPz6njQOC6WQA==",
10+
"dependencies": {
11+
"System.Configuration.ConfigurationManager": "6.0.0"
12+
}
13+
},
14+
"Microsoft.NET.Test.Sdk": {
15+
"type": "Direct",
16+
"requested": "[17.14.1, )",
17+
"resolved": "17.14.1",
18+
"contentHash": "HJKqKOE+vshXra2aEHpi2TlxYX7Z9VFYkr+E5rwEvHC8eIXiyO+K9kNm8vmNom3e2rA56WqxU+/N9NJlLGXsJQ==",
19+
"dependencies": {
20+
"Microsoft.CodeCoverage": "17.14.1",
21+
"Microsoft.TestPlatform.TestHost": "17.14.1"
22+
}
23+
},
24+
"xunit.runner.visualstudio": {
25+
"type": "Direct",
26+
"requested": "[3.1.1, )",
27+
"resolved": "3.1.1",
28+
"contentHash": "gNu2zhnuwjq5vQlU4S7yK/lfaKZDLmtcu+vTjnhfTlMAUYn+Hmgu8IIX0UCwWepYkk+Szx03DHx1bDnc9Fd+9w=="
29+
},
30+
"xunit.v3": {
31+
"type": "Direct",
32+
"requested": "[2.0.3, )",
33+
"resolved": "2.0.3",
34+
"contentHash": "Zx2r5xnUgyAIhI3cvfKaAr7Mj0Enn0zFhaMoTJ2hRYEPJlqlllUkTUvBBYalZQvpXGub/UQWq1nY5erD7Zv1cA==",
35+
"dependencies": {
36+
"xunit.analyzers": "1.22.0",
37+
"xunit.v3.assert": "[2.0.3]",
38+
"xunit.v3.core": "[2.0.3]"
39+
}
40+
},
41+
"Microsoft.Bcl.AsyncInterfaces": {
42+
"type": "Transitive",
43+
"resolved": "6.0.0",
44+
"contentHash": "UcSjPsst+DfAdJGVDsu346FX0ci0ah+lw3WRtn18NUwEqRt70HaOQ7lI72vy3+1LxtqI3T5GWwV39rQSrCzAeg=="
45+
},
46+
"Microsoft.CodeCoverage": {
47+
"type": "Transitive",
48+
"resolved": "17.14.1",
49+
"contentHash": "pmTrhfFIoplzFVbhVwUquT+77CbGH+h4/3mBpdmIlYtBi9nAB+kKI6dN3A/nV4DFi3wLLx/BlHIPK+MkbQ6Tpg=="
50+
},
51+
"Microsoft.Testing.Extensions.TrxReport.Abstractions": {
52+
"type": "Transitive",
53+
"resolved": "1.6.3",
54+
"contentHash": "0MdowM+3IDVWE5VBzVe9NvxsE4caSbM3fO+jlWVzEBr/Vnc3BWx+uV/Ex0dLLpkxkeUKH2gGWTNLb39rw3DDqw==",
55+
"dependencies": {
56+
"Microsoft.Testing.Platform": "1.6.3"
57+
}
58+
},
59+
"Microsoft.Testing.Platform": {
60+
"type": "Transitive",
61+
"resolved": "1.6.3",
62+
"contentHash": "DqMZukaPo+vKzColfqd1I5qZebfISZT6ND70AOem/dYQmHsaMN0xg/JG7E0e80rwfxL7wAA4ylSg8j6KJf1Tuw=="
63+
},
64+
"Microsoft.Testing.Platform.MSBuild": {
65+
"type": "Transitive",
66+
"resolved": "1.6.3",
67+
"contentHash": "PXSYI5Iae29GM5636zOL8PlQD1YyOa9cfzfYLR43hrLjjK7RDJgMTvgAet3oZLgDTvz6pbzABZvhx+S/W5m8YA==",
68+
"dependencies": {
69+
"Microsoft.Testing.Platform": "1.6.3"
70+
}
71+
},
72+
"Microsoft.TestPlatform.ObjectModel": {
73+
"type": "Transitive",
74+
"resolved": "17.14.1",
75+
"contentHash": "xTP1W6Mi6SWmuxd3a+jj9G9UoC850WGwZUps1Wah9r1ZxgXhdJfj1QqDLJkFjHDCvN42qDL2Ps5KjQYWUU0zcQ=="
76+
},
77+
"Microsoft.TestPlatform.TestHost": {
78+
"type": "Transitive",
79+
"resolved": "17.14.1",
80+
"contentHash": "d78LPzGKkJwsJXAQwsbJJ7LE7D1wB+rAyhHHAaODF+RDSQ0NgMjDFkSA1Djw18VrxO76GlKAjRUhl+H8NL8Z+Q==",
81+
"dependencies": {
82+
"Microsoft.TestPlatform.ObjectModel": "17.14.1",
83+
"Newtonsoft.Json": "13.0.3"
84+
}
85+
},
86+
"Microsoft.Win32.SystemEvents": {
87+
"type": "Transitive",
88+
"resolved": "6.0.0",
89+
"contentHash": "hqTM5628jSsQiv+HGpiq3WKBl2c8v1KZfby2J6Pr7pEPlK9waPdgEO6b8A/+/xn/yZ9ulv8HuqK71ONy2tg67A=="
90+
},
91+
"Newtonsoft.Json": {
92+
"type": "Transitive",
93+
"resolved": "13.0.3",
94+
"contentHash": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ=="
95+
},
96+
"System.Configuration.ConfigurationManager": {
97+
"type": "Transitive",
98+
"resolved": "6.0.0",
99+
"contentHash": "7T+m0kDSlIPTHIkPMIu6m6tV6qsMqJpvQWW2jIc2qi7sn40qxFo0q+7mEQAhMPXZHMKnWrnv47ntGlM/ejvw3g==",
100+
"dependencies": {
101+
"System.Security.Cryptography.ProtectedData": "6.0.0",
102+
"System.Security.Permissions": "6.0.0"
103+
}
104+
},
105+
"System.Drawing.Common": {
106+
"type": "Transitive",
107+
"resolved": "6.0.0",
108+
"contentHash": "NfuoKUiP2nUWwKZN6twGqXioIe1zVD0RIj2t976A+czLHr2nY454RwwXs6JU9Htc6mwqL6Dn/nEL3dpVf2jOhg==",
109+
"dependencies": {
110+
"Microsoft.Win32.SystemEvents": "6.0.0"
111+
}
112+
},
113+
"System.Security.Cryptography.ProtectedData": {
114+
"type": "Transitive",
115+
"resolved": "6.0.0",
116+
"contentHash": "rp1gMNEZpvx9vP0JW0oHLxlf8oSiQgtno77Y4PLUBjSiDYoD77Y8uXHr1Ea5XG4/pIKhqAdxZ8v8OTUtqo9PeQ=="
117+
},
118+
"System.Security.Permissions": {
119+
"type": "Transitive",
120+
"resolved": "6.0.0",
121+
"contentHash": "T/uuc7AklkDoxmcJ7LGkyX1CcSviZuLCa4jg3PekfJ7SU0niF0IVTXwUiNVP9DSpzou2PpxJ+eNY2IfDM90ZCg==",
122+
"dependencies": {
123+
"System.Windows.Extensions": "6.0.0"
124+
}
125+
},
126+
"System.Windows.Extensions": {
127+
"type": "Transitive",
128+
"resolved": "6.0.0",
129+
"contentHash": "IXoJOXIqc39AIe+CIR7koBtRGMiCt/LPM3lI+PELtDIy9XdyeSrwXFdWV9dzJ2Awl0paLWUaknLxFQ5HpHZUog==",
130+
"dependencies": {
131+
"System.Drawing.Common": "6.0.0"
132+
}
133+
},
134+
"xunit.analyzers": {
135+
"type": "Transitive",
136+
"resolved": "1.22.0",
137+
"contentHash": "MXTmnlJLQPSJfgxibeFgpUP5sj+3649BWkf3WgeUhAVUrI3nXzWE+BGH4OPfWkG2Q5x0SzIKgegikNhnfMgaXQ=="
138+
},
139+
"xunit.v3.assert": {
140+
"type": "Transitive",
141+
"resolved": "2.0.3",
142+
"contentHash": "6uTT9zLyg7YtP8fAZqOFcCpeGXtsh6K1+QVHHJl/aoQObr2qHvhGMuZbm5UYf4z49ytpQt6NzP6Iq4uWEBBh4g=="
143+
},
144+
"xunit.v3.common": {
145+
"type": "Transitive",
146+
"resolved": "2.0.3",
147+
"contentHash": "u3kTB9Fqo6X8keccsW4Zkn87nQNxMNZGm1rjJjCC0yThKP77N8H52Fx6CaochjGeGzEc2w9CUDu7C2ygu61bYg==",
148+
"dependencies": {
149+
"Microsoft.Bcl.AsyncInterfaces": "6.0.0"
150+
}
151+
},
152+
"xunit.v3.core": {
153+
"type": "Transitive",
154+
"resolved": "2.0.3",
155+
"contentHash": "KN2xOHNVGXI6AsPKatV9urqVs2YIGQ+2klY6HLys/oQauBVoS2W2+BRZz1rnwoJ+5aK+2+gfe1rLKi8iInT9Ow==",
156+
"dependencies": {
157+
"Microsoft.Testing.Platform.MSBuild": "1.6.3",
158+
"xunit.v3.extensibility.core": "[2.0.3]",
159+
"xunit.v3.runner.inproc.console": "[2.0.3]"
160+
}
161+
},
162+
"xunit.v3.extensibility.core": {
163+
"type": "Transitive",
164+
"resolved": "2.0.3",
165+
"contentHash": "1uxfWR72veq0b5/3ghEA2zRAkdqmnA9ahCxWr1VEb2q6MBNKx6aHsAL85PyY172f1dsvUMqh7BSelaHsR5Df5w==",
166+
"dependencies": {
167+
"xunit.v3.common": "[2.0.3]"
168+
}
169+
},
170+
"xunit.v3.runner.common": {
171+
"type": "Transitive",
172+
"resolved": "2.0.3",
173+
"contentHash": "Q+43ogqiJlWOG3l6Me7iNTm68CvVdX16OsHDoQcKCUEvWXHyiSRGBkcmMAT3OVENH0wS69QHi0q4mb3VsAbclA==",
174+
"dependencies": {
175+
"xunit.v3.common": "[2.0.3]"
176+
}
177+
},
178+
"xunit.v3.runner.inproc.console": {
179+
"type": "Transitive",
180+
"resolved": "2.0.3",
181+
"contentHash": "S65IrpHbt9nHotyfs6MnjNsc8bZUMBLHHJcyky4ywDNKx+k07sjwaGb+otLQA4Z6FPCGIPrL7u0ThQm76FxBZw==",
182+
"dependencies": {
183+
"Microsoft.Testing.Extensions.TrxReport.Abstractions": "1.6.3",
184+
"Microsoft.Testing.Platform": "1.6.3",
185+
"xunit.v3.extensibility.core": "[2.0.3]",
186+
"xunit.v3.runner.common": "[2.0.3]"
187+
}
188+
},
189+
"light.temporarystreams": {
190+
"type": "Project",
191+
"dependencies": {
192+
"Light.GuardClauses": "[13.0.0, )"
193+
}
194+
},
195+
"Light.GuardClauses": {
196+
"type": "CentralTransitive",
197+
"requested": "[13.0.0, )",
198+
"resolved": "13.0.0",
199+
"contentHash": "mhlWUk0o+XibJgYuPlO9vQQpMmh4EAeDRFAac7pP6W3zmpjEeyUVGOiw+mdCxX469QQ2rkMYjWyHoDlZv599/w=="
200+
}
201+
}
202+
}
203+
}

0 commit comments

Comments
 (0)