Skip to content

Commit 881378b

Browse files
Adds lockfiles and locked mode restore (#986)
1 parent 7f9135c commit 881378b

File tree

8 files changed

+1381
-2
lines changed

8 files changed

+1381
-2
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
- name: Restore workloads
7777
run: dotnet workload restore
7878
- name: Restore dependencies
79-
run: dotnet restore
79+
run: dotnet restore --locked-mode
8080
- name: Build
8181
run: dotnet build --no-restore -c Release
8282

.github/workflows/dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Restore workloads
2727
run: dotnet workload restore
2828
- name: Restore dependencies
29-
run: dotnet restore dev-proxy.sln
29+
run: dotnet restore dev-proxy.sln --locked-mode
3030
- name: Build
3131
run: dotnet build dev-proxy.sln --no-restore
3232
# We really should have tests, putting these steps here for when we have a build process

dev-proxy-abstractions/dev-proxy-abstractions.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<Nullable>enable</Nullable>
88
<Version>0.24.0</Version>
99
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
10+
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
1011
</PropertyGroup>
1112

1213
<ItemGroup>
Lines changed: 310 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,310 @@
1+
{
2+
"version": 1,
3+
"dependencies": {
4+
"net9.0": {
5+
"Microsoft.EntityFrameworkCore.Sqlite": {
6+
"type": "Direct",
7+
"requested": "[9.0.0, )",
8+
"resolved": "9.0.0",
9+
"contentHash": "xu6dlgBO9I1WA1WdT+rUvv+ZGQ9aGRn3c246ykyuFzBX02oNYd1lk7LEVGhjBN1T49N3C9yBUHFQY8vY4JZQrw==",
10+
"dependencies": {
11+
"Microsoft.EntityFrameworkCore.Sqlite.Core": "9.0.0",
12+
"Microsoft.Extensions.Caching.Memory": "9.0.0",
13+
"Microsoft.Extensions.Configuration.Abstractions": "9.0.0",
14+
"Microsoft.Extensions.DependencyModel": "9.0.0",
15+
"Microsoft.Extensions.Logging": "9.0.0",
16+
"SQLitePCLRaw.bundle_e_sqlite3": "2.1.10",
17+
"SQLitePCLRaw.core": "2.1.10",
18+
"System.Text.Json": "9.0.0"
19+
}
20+
},
21+
"Microsoft.Extensions.Configuration": {
22+
"type": "Direct",
23+
"requested": "[9.0.1, )",
24+
"resolved": "9.0.1",
25+
"contentHash": "VuthqFS+ju6vT8W4wevdhEFiRi1trvQtkzWLonApfF5USVzzDcTBoY3F24WvN/tffLSrycArVfX1bThm/9xY2A==",
26+
"dependencies": {
27+
"Microsoft.Extensions.Configuration.Abstractions": "9.0.1",
28+
"Microsoft.Extensions.Primitives": "9.0.1"
29+
}
30+
},
31+
"Microsoft.Extensions.Configuration.Binder": {
32+
"type": "Direct",
33+
"requested": "[9.0.1, )",
34+
"resolved": "9.0.1",
35+
"contentHash": "w7kAyu1Mm7eParRV6WvGNNwA8flPTub16fwH49h7b/yqJZFTgYxnOVCuiah3G2bgseJMEq4DLjjsyQRvsdzRgA==",
36+
"dependencies": {
37+
"Microsoft.Extensions.Configuration.Abstractions": "9.0.1"
38+
}
39+
},
40+
"Microsoft.Extensions.Configuration.Json": {
41+
"type": "Direct",
42+
"requested": "[9.0.1, )",
43+
"resolved": "9.0.1",
44+
"contentHash": "z+g+lgPET1JRDjsOkFe51rkkNcnJgvOK5UIpeTfF1iAi0GkBJz5/yUuTa8a9V8HUh4gj4xFT5WGoMoXoSDKfGg==",
45+
"dependencies": {
46+
"Microsoft.Extensions.Configuration": "9.0.1",
47+
"Microsoft.Extensions.Configuration.Abstractions": "9.0.1",
48+
"Microsoft.Extensions.Configuration.FileExtensions": "9.0.1",
49+
"Microsoft.Extensions.FileProviders.Abstractions": "9.0.1"
50+
}
51+
},
52+
"Microsoft.Extensions.Logging.Abstractions": {
53+
"type": "Direct",
54+
"requested": "[9.0.1, )",
55+
"resolved": "9.0.1",
56+
"contentHash": "w2gUqXN/jNIuvqYwX3lbXagsizVNXYyt6LlF57+tMve4JYCEgCMMAjRce6uKcDASJgpMbErRT1PfHy2OhbkqEA==",
57+
"dependencies": {
58+
"Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.1"
59+
}
60+
},
61+
"Microsoft.OpenApi.Readers": {
62+
"type": "Direct",
63+
"requested": "[1.6.23, )",
64+
"resolved": "1.6.23",
65+
"contentHash": "z2XwO4MUHGWK8dWUyM236pbkm1g+s5diE0dafLe6894mmq2v7cC3A4wLW8UmqBHo1Xx54xYz583jSpw6ZRBFwQ==",
66+
"dependencies": {
67+
"Microsoft.OpenApi": "1.6.23",
68+
"SharpYaml": "2.1.1"
69+
}
70+
},
71+
"System.CommandLine": {
72+
"type": "Direct",
73+
"requested": "[2.0.0-beta4.22272.1, )",
74+
"resolved": "2.0.0-beta4.22272.1",
75+
"contentHash": "1uqED/q2H0kKoLJ4+hI2iPSBSEdTuhfCYADeJrAqERmiGQ2NNacYKRNEQ+gFbU4glgVyK8rxI+ZOe1onEtr/Pg=="
76+
},
77+
"Unobtanium.Web.Proxy": {
78+
"type": "Direct",
79+
"requested": "[0.1.5, )",
80+
"resolved": "0.1.5",
81+
"contentHash": "HiICGm0e44+i4aVHpLn+aphmSC2eQnDvlTttw1rE0hntOZKoLGRy37sydqqbRP1ZokMf3Mt0GEgSWxDwnucKGg==",
82+
"dependencies": {
83+
"BouncyCastle.Cryptography": "2.4.0",
84+
"Microsoft.Extensions.Logging.Abstractions": "8.0.1",
85+
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
86+
}
87+
},
88+
"BouncyCastle.Cryptography": {
89+
"type": "Transitive",
90+
"resolved": "2.4.0",
91+
"contentHash": "SwXsAV3sMvAU/Nn31pbjhWurYSjJ+/giI/0n6tCrYoupEK34iIHCuk3STAd9fx8yudM85KkLSVdn951vTng/vQ=="
92+
},
93+
"Microsoft.Data.Sqlite.Core": {
94+
"type": "Transitive",
95+
"resolved": "9.0.0",
96+
"contentHash": "cFfZjFL+tqzGYw9lB31EkV1IWF5xRQNk2k+MQd+Cf86Gl6zTeAoiZIFw5sRB1Z8OxpEC7nu+nTDsLSjieBAPTw==",
97+
"dependencies": {
98+
"SQLitePCLRaw.core": "2.1.10"
99+
}
100+
},
101+
"Microsoft.EntityFrameworkCore": {
102+
"type": "Transitive",
103+
"resolved": "9.0.0",
104+
"contentHash": "wpG+nfnfDAw87R3ovAsUmjr3MZ4tYXf6bFqEPVAIKE6IfPml3DS//iX0DBnf8kWn5ZHSO5oi1m4d/Jf+1LifJQ==",
105+
"dependencies": {
106+
"Microsoft.EntityFrameworkCore.Abstractions": "9.0.0",
107+
"Microsoft.EntityFrameworkCore.Analyzers": "9.0.0",
108+
"Microsoft.Extensions.Caching.Memory": "9.0.0",
109+
"Microsoft.Extensions.Logging": "9.0.0"
110+
}
111+
},
112+
"Microsoft.EntityFrameworkCore.Abstractions": {
113+
"type": "Transitive",
114+
"resolved": "9.0.0",
115+
"contentHash": "fnmifFL8KaA4ZNLCVgfjCWhZUFxkrDInx5hR4qG7Q8IEaSiy/6VOSRFyx55oH7MV4y7wM3J3EE90nSpcVBI44Q=="
116+
},
117+
"Microsoft.EntityFrameworkCore.Analyzers": {
118+
"type": "Transitive",
119+
"resolved": "9.0.0",
120+
"contentHash": "Qje+DzXJOKiXF72SL0XxNlDtTkvWWvmwknuZtFahY5hIQpRKO59qnGuERIQ3qlzuq5x4bAJ8WMbgU5DLhBgeOQ=="
121+
},
122+
"Microsoft.EntityFrameworkCore.Relational": {
123+
"type": "Transitive",
124+
"resolved": "9.0.0",
125+
"contentHash": "j+msw6fWgAE9M3Q/5B9Uhv7pdAdAQUvFPJAiBJmoy+OXvehVbfbCE8ftMAa51Uo2ZeiqVnHShhnv4Y4UJJmUzA==",
126+
"dependencies": {
127+
"Microsoft.EntityFrameworkCore": "9.0.0",
128+
"Microsoft.Extensions.Caching.Memory": "9.0.0",
129+
"Microsoft.Extensions.Configuration.Abstractions": "9.0.0",
130+
"Microsoft.Extensions.Logging": "9.0.0"
131+
}
132+
},
133+
"Microsoft.EntityFrameworkCore.Sqlite.Core": {
134+
"type": "Transitive",
135+
"resolved": "9.0.0",
136+
"contentHash": "4gmIZli/Na39mck6s/gO2n1NdOHHwNQfSWucpA+bAU5UAEMYFGMXpCR1AHoo/VJuyMkfpBxuHzkj1/xczy2vFg==",
137+
"dependencies": {
138+
"Microsoft.Data.Sqlite.Core": "9.0.0",
139+
"Microsoft.EntityFrameworkCore.Relational": "9.0.0",
140+
"Microsoft.Extensions.Caching.Memory": "9.0.0",
141+
"Microsoft.Extensions.Configuration.Abstractions": "9.0.0",
142+
"Microsoft.Extensions.DependencyModel": "9.0.0",
143+
"Microsoft.Extensions.Logging": "9.0.0",
144+
"SQLitePCLRaw.core": "2.1.10",
145+
"System.Text.Json": "9.0.0"
146+
}
147+
},
148+
"Microsoft.Extensions.Caching.Abstractions": {
149+
"type": "Transitive",
150+
"resolved": "9.0.0",
151+
"contentHash": "FPWZAa9c0H4dvOj351iR1jkUIs4u9ykL4Bm592yhjDyO5lCoWd+TMAHx2EMbarzUvCvgjWjJIoC6//Q9kH6YhA==",
152+
"dependencies": {
153+
"Microsoft.Extensions.Primitives": "9.0.0"
154+
}
155+
},
156+
"Microsoft.Extensions.Caching.Memory": {
157+
"type": "Transitive",
158+
"resolved": "9.0.0",
159+
"contentHash": "zbnPX/JQ0pETRSUG9fNPBvpIq42Aufvs15gGYyNIMhCun9yhmWihz0WgsI7bSDPjxWTKBf8oX/zv6v2uZ3W9OQ==",
160+
"dependencies": {
161+
"Microsoft.Extensions.Caching.Abstractions": "9.0.0",
162+
"Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.0",
163+
"Microsoft.Extensions.Logging.Abstractions": "9.0.0",
164+
"Microsoft.Extensions.Options": "9.0.0",
165+
"Microsoft.Extensions.Primitives": "9.0.0"
166+
}
167+
},
168+
"Microsoft.Extensions.Configuration.Abstractions": {
169+
"type": "Transitive",
170+
"resolved": "9.0.1",
171+
"contentHash": "+4hfFIY1UjBCXFTTOd+ojlDPq6mep3h5Vq5SYE3Pjucr7dNXmq4S/6P/LoVnZFz2e/5gWp/om4svUFgznfULcA==",
172+
"dependencies": {
173+
"Microsoft.Extensions.Primitives": "9.0.1"
174+
}
175+
},
176+
"Microsoft.Extensions.Configuration.FileExtensions": {
177+
"type": "Transitive",
178+
"resolved": "9.0.1",
179+
"contentHash": "QBOI8YVAyKqeshYOyxSe6co22oag431vxMu5xQe1EjXMkYE4xK4J71xLCW3/bWKmr9Aoy1VqGUARSLFnotk4Bg==",
180+
"dependencies": {
181+
"Microsoft.Extensions.Configuration": "9.0.1",
182+
"Microsoft.Extensions.Configuration.Abstractions": "9.0.1",
183+
"Microsoft.Extensions.FileProviders.Abstractions": "9.0.1",
184+
"Microsoft.Extensions.FileProviders.Physical": "9.0.1",
185+
"Microsoft.Extensions.Primitives": "9.0.1"
186+
}
187+
},
188+
"Microsoft.Extensions.DependencyInjection": {
189+
"type": "Transitive",
190+
"resolved": "9.0.0",
191+
"contentHash": "MCPrg7v3QgNMr0vX4vzRXvkNGgLg8vKWX0nKCWUxu2uPyMsaRgiRc1tHBnbTcfJMhMKj2slE/j2M9oGkd25DNw==",
192+
"dependencies": {
193+
"Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.0"
194+
}
195+
},
196+
"Microsoft.Extensions.DependencyInjection.Abstractions": {
197+
"type": "Transitive",
198+
"resolved": "9.0.1",
199+
"contentHash": "Tr74eP0oQ3AyC24ch17N8PuEkrPbD0JqIfENCYqmgKYNOmL8wQKzLJu3ObxTUDrjnn4rHoR1qKa37/eQyHmCDA=="
200+
},
201+
"Microsoft.Extensions.DependencyModel": {
202+
"type": "Transitive",
203+
"resolved": "9.0.0",
204+
"contentHash": "saxr2XzwgDU77LaQfYFXmddEDRUKHF4DaGMZkNB3qjdVSZlax3//dGJagJkKrGMIPNZs2jVFXITyCCR6UHJNdA=="
205+
},
206+
"Microsoft.Extensions.FileProviders.Abstractions": {
207+
"type": "Transitive",
208+
"resolved": "9.0.1",
209+
"contentHash": "DguZYt1DWL05+8QKWL3b6bW7A2pC5kYFMY5iXM6W2M23jhvcNa8v6AU8PvVJBcysxHwr9/jax0agnwoBumsSwg==",
210+
"dependencies": {
211+
"Microsoft.Extensions.Primitives": "9.0.1"
212+
}
213+
},
214+
"Microsoft.Extensions.FileProviders.Physical": {
215+
"type": "Transitive",
216+
"resolved": "9.0.1",
217+
"contentHash": "TKDMNRS66UTMEVT38/tU9hA63UTMvzI3DyNm5mx8+JCf3BaOtxgrvWLCI1y3J52PzT5yNl/T2KN5Z0KbApLZcg==",
218+
"dependencies": {
219+
"Microsoft.Extensions.FileProviders.Abstractions": "9.0.1",
220+
"Microsoft.Extensions.FileSystemGlobbing": "9.0.1",
221+
"Microsoft.Extensions.Primitives": "9.0.1"
222+
}
223+
},
224+
"Microsoft.Extensions.FileSystemGlobbing": {
225+
"type": "Transitive",
226+
"resolved": "9.0.1",
227+
"contentHash": "Mxcp9NXuQMvAnudRZcgIb5SqlWrlullQzntBLTwuv0MPIJ5LqiGwbRqiyxgdk+vtCoUkplb0oXy5kAw1t469Ug=="
228+
},
229+
"Microsoft.Extensions.Logging": {
230+
"type": "Transitive",
231+
"resolved": "9.0.0",
232+
"contentHash": "crjWyORoug0kK7RSNJBTeSE6VX8IQgLf3nUpTB9m62bPXp/tzbnOsnbe8TXEG0AASNaKZddnpHKw7fET8E++Pg==",
233+
"dependencies": {
234+
"Microsoft.Extensions.DependencyInjection": "9.0.0",
235+
"Microsoft.Extensions.Logging.Abstractions": "9.0.0",
236+
"Microsoft.Extensions.Options": "9.0.0"
237+
}
238+
},
239+
"Microsoft.Extensions.Options": {
240+
"type": "Transitive",
241+
"resolved": "9.0.0",
242+
"contentHash": "y2146b3jrPI3Q0lokKXdKLpmXqakYbDIPDV6r3M8SqvSf45WwOTzkyfDpxnZXJsJQEpAsAqjUq5Pu8RCJMjubg==",
243+
"dependencies": {
244+
"Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.0",
245+
"Microsoft.Extensions.Primitives": "9.0.0"
246+
}
247+
},
248+
"Microsoft.Extensions.Primitives": {
249+
"type": "Transitive",
250+
"resolved": "9.0.1",
251+
"contentHash": "bHtTesA4lrSGD1ZUaMIx6frU3wyy0vYtTa/hM6gGQu5QNrydObv8T5COiGUWsisflAfmsaFOe9Xvw5NSO99z0g=="
252+
},
253+
"Microsoft.OpenApi": {
254+
"type": "Transitive",
255+
"resolved": "1.6.23",
256+
"contentHash": "tZ1I0KXnn98CWuV8cpI247A17jaY+ILS9vvF7yhI0uPPEqF4P1d7BWL5Uwtel10w9NucllHB3nTkfYTAcHAh8g=="
257+
},
258+
"SharpYaml": {
259+
"type": "Transitive",
260+
"resolved": "2.1.1",
261+
"contentHash": "BISoFuW2AwZYXxrZGaBnedo21BvrdgC4kkWd6QYrOdhOGSsZB0RSqcBw09l9caUE1g3sykJoRfSbtSzZS6tYig=="
262+
},
263+
"SQLitePCLRaw.bundle_e_sqlite3": {
264+
"type": "Transitive",
265+
"resolved": "2.1.10",
266+
"contentHash": "UxWuisvZ3uVcVOLJQv7urM/JiQH+v3TmaJc1BLKl5Dxfm/nTzTUrqswCqg/INiYLi61AXnHo1M1JPmPqqLnAdg==",
267+
"dependencies": {
268+
"SQLitePCLRaw.lib.e_sqlite3": "2.1.10",
269+
"SQLitePCLRaw.provider.e_sqlite3": "2.1.10"
270+
}
271+
},
272+
"SQLitePCLRaw.core": {
273+
"type": "Transitive",
274+
"resolved": "2.1.10",
275+
"contentHash": "Ii8JCbC7oiVclaE/mbDEK000EFIJ+ShRPwAvvV89GOZhQ+ZLtlnSWl6ksCNMKu/VGXA4Nfi2B7LhN/QFN9oBcw==",
276+
"dependencies": {
277+
"System.Memory": "4.5.3"
278+
}
279+
},
280+
"SQLitePCLRaw.lib.e_sqlite3": {
281+
"type": "Transitive",
282+
"resolved": "2.1.10",
283+
"contentHash": "mAr69tDbnf3QJpRy2nJz8Qdpebdil00fvycyByR58Cn9eARvR+UiG2Vzsp+4q1tV3ikwiYIjlXCQFc12GfebbA=="
284+
},
285+
"SQLitePCLRaw.provider.e_sqlite3": {
286+
"type": "Transitive",
287+
"resolved": "2.1.10",
288+
"contentHash": "uZVTi02C1SxqzgT0HqTWatIbWGb40iIkfc3FpFCpE/r7g6K0PqzDUeefL6P6HPhDtc6BacN3yQysfzP7ks+wSQ==",
289+
"dependencies": {
290+
"SQLitePCLRaw.core": "2.1.10"
291+
}
292+
},
293+
"System.Memory": {
294+
"type": "Transitive",
295+
"resolved": "4.5.3",
296+
"contentHash": "3oDzvc/zzetpTKWMShs1AADwZjQ/36HnsufHRPcOjyRAAMLDlu2iD33MBI2opxnezcVUtXyqDXXjoFMOU9c7SA=="
297+
},
298+
"System.Runtime.CompilerServices.Unsafe": {
299+
"type": "Transitive",
300+
"resolved": "6.0.0",
301+
"contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg=="
302+
},
303+
"System.Text.Json": {
304+
"type": "Transitive",
305+
"resolved": "9.0.0",
306+
"contentHash": "js7+qAu/9mQvnhA4EfGMZNEzXtJCDxgkgj8ohuxq/Qxv+R56G+ljefhiJHOxTNiw54q8vmABCWUwkMulNdlZ4A=="
307+
}
308+
}
309+
}
310+
}

dev-proxy-plugins/dev-proxy-plugins.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
99
<Version>0.24.0</Version>
1010
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
11+
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
1112
</PropertyGroup>
1213
<PropertyGroup Condition="'$(Configuration)'=='Release'">
1314
<NoWarn>CS1998</NoWarn>

0 commit comments

Comments
 (0)