Skip to content

Commit

Permalink
Enable usage of NuGet lock files
Browse files Browse the repository at this point in the history
  • Loading branch information
ap0llo committed Dec 22, 2022
1 parent 69f8d41 commit 83e2045
Show file tree
Hide file tree
Showing 17 changed files with 23,450 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/update-nuget-lock-file.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Update NuGet lock files

on:
push:
branches:
- renovate/*

jobs:
build:
runs-on: ubuntu-latest
steps:

- name: Set Environment Variables
run: |-
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" >> $GITHUB_ENV
echo "DOTNET_NOLOGO=1" >> $GITHUB_ENV
echo "DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1" >> $GITHUB_ENV
- name: Check out repo
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true

- name: Install .NET SDK
uses: actions/setup-dotnet@v3

- name: Update lock files
run: |-
dotnet restore
cd build
dotnet restore
- name: Commit and push if lock file was changed
run: |-
git diff
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
git diff --quiet || (git add *packages.lock.json && git commit -m "Update NuGet lock file")
git push
8 changes: 8 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,12 @@
<Product>MdDocs</Product>
</PropertyGroup>


<!-- Use NuGet lock file -->
<PropertyGroup>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<!-- When running in Azure Pipelines, use locked mode -->
<RestoreLockedMode Condition=" '$(TF_BUILD)' == 'true' ">true</RestoreLockedMode>
</PropertyGroup>

</Project>
314 changes: 314 additions & 0 deletions build/packages.lock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,314 @@
{
"version": 1,
"dependencies": {
"net7.0": {
"Cake.BuildSystems.Module": {
"type": "Direct",
"requested": "[4.2.0, )",
"resolved": "4.2.0",
"contentHash": "cM3AvHjtCF0YCfAOgXsX87vKUgyCUTbJfa8P8/YnvszzQS9kQ8R18Tof3u0lBgDPQ/LiK76taRNbZZd8eJCnLA=="
},
"Cake.DotNetLocalTools.Module": {
"type": "Direct",
"requested": "[3.0.12, )",
"resolved": "3.0.12",
"contentHash": "pPt7niH6R7mxK/guL5jSkAWICL1N+HRceXRAh1YJa73XZPYjPDGJ0lB56ztdeFJTIzL59ApYFY6nM66UcFStEw==",
"dependencies": {
"Newtonsoft.Json": "13.0.1"
}
},
"Cake.Frosting": {
"type": "Direct",
"requested": "[3.0.0, )",
"resolved": "3.0.0",
"contentHash": "GMXDdT9+t9TI1gPJHbA7iHXOPLGKQj4BdhqdE8yi6pg5T2mF5Bb8llZEs55v2V7rh7M5uzNm7Rz4b87N8gGj5w==",
"dependencies": {
"Cake.Cli": "3.0.0",
"Cake.Common": "3.0.0",
"Cake.Core": "3.0.0",
"Cake.DotNetTool.Module": "3.0.0",
"Cake.NuGet": "3.0.0",
"Microsoft.Extensions.DependencyInjection": "7.0.0"
}
},
"Cake.GitVersioning": {
"type": "Direct",
"requested": "[3.5.119, )",
"resolved": "3.5.119",
"contentHash": "OHlxIz/G9pfRjHDfCpZJJJ5fdWJiDivthqgG5E4YlXq9s16UbHD9fBpXb3wquygfcjrC1rqnx4TF62xcpI4+wA=="
},
"Grynwald.SharedBuild": {
"type": "Direct",
"requested": "[2.2.42, )",
"resolved": "2.2.42",
"contentHash": "tSpRUBr2VqvUsgdcgYizujN3gq9J2Rlc0u77w9FOeIJXWal/RHFucJOo0A+lw0biVTbWm4e8mjGWLm0H1veeVA==",
"dependencies": {
"Cake.Frosting": "3.0.0",
"Cake.GitVersioning": "3.5.119",
"Mono.Cecil": "0.11.4",
"Octokit": "4.0.3"
}
},
"Microsoft.DotNet.Analyzers.Compatibility": {
"type": "Direct",
"requested": "[0.2.12-alpha, )",
"resolved": "0.2.12-alpha",
"contentHash": "uu3yAa6hQZJoJZfBwXSvh+bN03KO06sWNZXwodxz7J1wva1g1+O4TnWJxX4dmsP6tLDTZtKy8IHiPLOOZIwt9w=="
},
"Microsoft.SourceLink.GitHub": {
"type": "Direct",
"requested": "[1.1.1, )",
"resolved": "1.1.1",
"contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==",
"dependencies": {
"Microsoft.Build.Tasks.Git": "1.1.1",
"Microsoft.SourceLink.Common": "1.1.1"
}
},
"Nerdbank.GitVersioning": {
"type": "Direct",
"requested": "[3.5.119, )",
"resolved": "3.5.119",
"contentHash": "x8k4zV6YKZA5Rr810439lG9NngdbyPtFv0QpIYz32m1Im59kvSbEHO8gKGZoNvsfZSquayjEDUCa8acbut372g=="
},
"Autofac": {
"type": "Transitive",
"resolved": "6.4.0",
"contentHash": "tkFxl6wAPuwVhrlN8wuNADnd+k2tv4ReP7ZZSL0vjfcN0RcfC9v25ogxK6b03HC7D4NwWjSLf1G/zTG8Bw43wQ==",
"dependencies": {
"System.Diagnostics.DiagnosticSource": "4.7.1"
}
},
"Cake.Cli": {
"type": "Transitive",
"resolved": "3.0.0",
"contentHash": "zWFGQx6HDnIQJHb8Wrbt1GpzexizMwMqKdgH+tUcY4h6IhIqeJ+UODEGTb8ikG5HtG0BxC74xIiA6z3pmXmKNA==",
"dependencies": {
"Autofac": "6.4.0",
"Cake.Core": "3.0.0",
"Spectre.Console": "0.45.0",
"Spectre.Console.Cli": "0.45.0"
}
},
"Cake.Common": {
"type": "Transitive",
"resolved": "3.0.0",
"contentHash": "gs4/iOhCQTGH39TiYElQOt/VZx4E1Vq/IW2ePsxw5xQz5GKSzwv9dfqG7giHic9Wst7qZngFN7mzFCIvuG7e/Q==",
"dependencies": {
"Cake.Core": "3.0.0"
}
},
"Cake.Core": {
"type": "Transitive",
"resolved": "3.0.0",
"contentHash": "d1/NImObNEiTe1BLX16Rfi0KK3oCVIMvLbFzEy8xlTh9wDCI/yTDwLZ8YgjhOG32MpBm0WbVDsJklK6nFvBcQg==",
"dependencies": {
"Microsoft.CSharp": "4.7.0",
"Microsoft.Win32.Registry": "5.0.0"
}
},
"Cake.DotNetTool.Module": {
"type": "Transitive",
"resolved": "3.0.0",
"contentHash": "QE7WdTgiYeuk+pSy1n6y5imPqVpLcIoJDgArb3S0HMrHOffBvYJuIZHcVxQ0j2WlBajLBBrDR+dPHD67Mw0HPg==",
"dependencies": {
"Cake.Core": "3.0.0"
}
},
"Cake.NuGet": {
"type": "Transitive",
"resolved": "3.0.0",
"contentHash": "BBTVidyFbU3egGwAOdhNE3PZ3TYchOAXJdQnTkcBbUCrX0iTO+Vp1sDRKRCMPji9OxSNDUVlBAia1C2XnNJ/lw==",
"dependencies": {
"Cake.Core": "3.0.0",
"Newtonsoft.Json": "13.0.1",
"NuGet.Common": "6.3.1",
"NuGet.Frameworks": "6.3.1",
"NuGet.Packaging": "6.3.1",
"NuGet.Protocol": "6.3.1",
"NuGet.Resolver": "6.3.1",
"NuGet.Versioning": "6.3.1"
}
},
"Microsoft.Build.Tasks.Git": {
"type": "Transitive",
"resolved": "1.1.1",
"contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q=="
},
"Microsoft.CSharp": {
"type": "Transitive",
"resolved": "4.7.0",
"contentHash": "pTj+D3uJWyN3My70i2Hqo+OXixq3Os2D1nJ2x92FFo6sk8fYS1m1WLNTs0Dc1uPaViH0YvEEwvzddQ7y4rhXmA=="
},
"Microsoft.Extensions.DependencyInjection": {
"type": "Transitive",
"resolved": "7.0.0",
"contentHash": "elNeOmkeX3eDVG6pYVeV82p29hr+UKDaBhrZyWvWLw/EVZSYEkZlQdkp0V39k/Xehs2Qa0mvoCvkVj3eQxNQ1Q==",
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "7.0.0"
}
},
"Microsoft.Extensions.DependencyInjection.Abstractions": {
"type": "Transitive",
"resolved": "7.0.0",
"contentHash": "h3j/QfmFN4S0w4C2A6X7arXij/M/OVw3uQHSOFxnND4DyAzO1F9eMX7Eti7lU/OkSthEE0WzRsfT/Dmx86jzCw=="
},
"Microsoft.NETCore.Platforms": {
"type": "Transitive",
"resolved": "5.0.0",
"contentHash": "VyPlqzH2wavqquTcYpkIIAQ6WdenuKoFN0BdYBbCWsclXacSOHNQn66Gt4z5NBqEYW0FAPm5rlvki9ZiCij5xQ=="
},
"Microsoft.SourceLink.Common": {
"type": "Transitive",
"resolved": "1.1.1",
"contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg=="
},
"Microsoft.Win32.Registry": {
"type": "Transitive",
"resolved": "5.0.0",
"contentHash": "dDoKi0PnDz31yAyETfRntsLArTlVAVzUzCIvvEDsDsucrl33Dl8pIJG06ePTJTI3tGpeyHS9Cq7Foc/s4EeKcg==",
"dependencies": {
"System.Security.AccessControl": "5.0.0",
"System.Security.Principal.Windows": "5.0.0"
}
},
"Mono.Cecil": {
"type": "Transitive",
"resolved": "0.11.4",
"contentHash": "IC1h5g0NeJGHIUgzM1P82ld57knhP0IcQfrYITDPXlNpMYGUrsG5TxuaWTjaeqDNQMBDNZkB8L0rBnwsY6JHuQ=="
},
"Newtonsoft.Json": {
"type": "Transitive",
"resolved": "13.0.1",
"contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A=="
},
"NuGet.Common": {
"type": "Transitive",
"resolved": "6.3.1",
"contentHash": "/WgxNyc9dXl+ZrQJDf5BXaqtMbl0CcDC5GEQITecbHZBQHApTMuxeTMMEqa0Y+PD1CIxTtbRY4jmotKS5dsLuA==",
"dependencies": {
"NuGet.Frameworks": "6.3.1"
}
},
"NuGet.Configuration": {
"type": "Transitive",
"resolved": "6.3.1",
"contentHash": "ja227AmXuDVgPXi3p2VTZFTYI/4xwwLSPYtd9Y9WIfCrRqSNDa96J5hm70wXhBCOQYvoRVDjp3ufgDnnqZ0bYA==",
"dependencies": {
"NuGet.Common": "6.3.1",
"System.Security.Cryptography.ProtectedData": "4.4.0"
}
},
"NuGet.Frameworks": {
"type": "Transitive",
"resolved": "6.3.1",
"contentHash": "Ae1vRjHDbNU7EQwQnDlxFRl+O9iQLp2H9Z/sRB/EAmO8+neUOeOfbkLClO7ZNcTcW5p1FDABrPakXICtQ0JCRw=="
},
"NuGet.Packaging": {
"type": "Transitive",
"resolved": "6.3.1",
"contentHash": "/GI2ujy3t00I8qFGvuLrVMNAEMFgEHfW+GNACZna2zgjADrxqrCeONStYZR2hHt3eI2/5HbiaoX4NCP17JCYzw==",
"dependencies": {
"Newtonsoft.Json": "13.0.1",
"NuGet.Configuration": "6.3.1",
"NuGet.Versioning": "6.3.1",
"System.Security.Cryptography.Cng": "5.0.0",
"System.Security.Cryptography.Pkcs": "5.0.0"
}
},
"NuGet.Protocol": {
"type": "Transitive",
"resolved": "6.3.1",
"contentHash": "1x3jozJNwoECAo88hrhYNuKkRrv9V2VoVxlCntpwr9jX5h6sTV3uHnXAN7vaVQ2/NRX9LLRIiD8K0NOTCG5EmQ==",
"dependencies": {
"NuGet.Packaging": "6.3.1"
}
},
"NuGet.Resolver": {
"type": "Transitive",
"resolved": "6.3.1",
"contentHash": "MzEyVi4ObiRSPfb00OvfXdnTHVg11VdfXBhootJlAo3D2XJ1jSUYGS2WwFi+4lL1IreMUmAO12pjhbGsPg/QLA==",
"dependencies": {
"NuGet.Protocol": "6.3.1"
}
},
"NuGet.Versioning": {
"type": "Transitive",
"resolved": "6.3.1",
"contentHash": "T/igBDLXCd+pH3YTWgGVNvYSOwbwaT30NyyM9ONjvlHlmaUjKBJpr9kH0AeL+Ado4EJsBhU3qxXVc6lyrpRcMw=="
},
"Octokit": {
"type": "Transitive",
"resolved": "4.0.3",
"contentHash": "KhRtKMEJfjwGKwpha1JalVlRrUP4WfhqG6b0VCiQ2w8JTa1LwhoRPWH9EpZ01Q8I9Qshu2kJu/1lMUOaR4yc3Q=="
},
"Spectre.Console": {
"type": "Transitive",
"resolved": "0.45.0",
"contentHash": "e//13o8/BCrWmwN26eJ4zCzD2iq7iUlqQd+nDI9nJUdnJ/rYAanYiNFZZ7YHwlv48IKuKtRYYP6/wPt1DG67ww==",
"dependencies": {
"System.Memory": "4.5.5"
}
},
"Spectre.Console.Cli": {
"type": "Transitive",
"resolved": "0.45.0",
"contentHash": "SZcYjwEmmYgmTDqOluWFYtURI9bgRtmx3tSdslHsMU9lKWkev3UHEkzDbOtu4XwY+hCn9NOjBRSDWNafa4fyCQ==",
"dependencies": {
"Spectre.Console": "0.45.0"
}
},
"System.Diagnostics.DiagnosticSource": {
"type": "Transitive",
"resolved": "4.7.1",
"contentHash": "j81Lovt90PDAq8kLpaJfJKV/rWdWuEk6jfV+MBkee33vzYLEUsy4gXK8laa9V2nZlLM9VM9yA/OOQxxPEJKAMw=="
},
"System.Formats.Asn1": {
"type": "Transitive",
"resolved": "5.0.0",
"contentHash": "MTvUIktmemNB+El0Fgw9egyqT9AYSIk6DTJeoDSpc3GIHxHCMo8COqkWT1mptX5tZ1SlQ6HJZ0OsSvMth1c12w=="
},
"System.Memory": {
"type": "Transitive",
"resolved": "4.5.5",
"contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw=="
},
"System.Security.AccessControl": {
"type": "Transitive",
"resolved": "5.0.0",
"contentHash": "dagJ1mHZO3Ani8GH0PHpPEe/oYO+rVdbQjvjJkBRNQkX4t0r1iaeGn8+/ybkSLEan3/slM0t59SVdHzuHf2jmw==",
"dependencies": {
"Microsoft.NETCore.Platforms": "5.0.0",
"System.Security.Principal.Windows": "5.0.0"
}
},
"System.Security.Cryptography.Cng": {
"type": "Transitive",
"resolved": "5.0.0",
"contentHash": "jIMXsKn94T9JY7PvPq/tMfqa6GAaHpElRDpmG+SuL+D3+sTw2M8VhnibKnN8Tq+4JqbPJ/f+BwtLeDMEnzAvRg==",
"dependencies": {
"System.Formats.Asn1": "5.0.0"
}
},
"System.Security.Cryptography.Pkcs": {
"type": "Transitive",
"resolved": "5.0.0",
"contentHash": "9TPLGjBCGKmNvG8pjwPeuYy0SMVmGZRwlTZvyPHDbYv/DRkoeumJdfumaaDNQzVGMEmbWtg07zUpSW9q70IlDQ==",
"dependencies": {
"System.Formats.Asn1": "5.0.0",
"System.Security.Cryptography.Cng": "5.0.0"
}
},
"System.Security.Cryptography.ProtectedData": {
"type": "Transitive",
"resolved": "4.4.0",
"contentHash": "cJV7ScGW7EhatRsjehfvvYVBvtiSMKgN8bOVI0bQhnF5bU7vnHVIsH49Kva7i7GWaWYvmEzkYVk1TC+gZYBEog=="
},
"System.Security.Principal.Windows": {
"type": "Transitive",
"resolved": "5.0.0",
"contentHash": "t0MGLukB5WAVU9bO3MGzvlGnyJPgUlcwerXn1kzBRjwLKixT96XV0Uza41W49gVd8zEMFu9vQEFlv0IOrytICA=="
}
}
}
}
Loading

0 comments on commit 83e2045

Please sign in to comment.