Skip to content

Commit

Permalink
chore: disable package lock (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShawkyZ authored Dec 16, 2024
1 parent a11e869 commit 5cd34f8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1,765 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,12 @@ jobs:
with:
vs-version: '[17.0, )'

- name: Restore NuGet packages
run: nuget restore ${{ inputs.solution-file-path }}

- name: Build
run: |
msbuild ${{ inputs.solution-file-path }} /p:configuration=Release /p:DeployExtension=false /p:ZipPackageCompressionLevel=normal /t:restore /p:RestoreLockedMode=true /v:m
msbuild ${{ inputs.solution-file-path }} /p:configuration=Release /p:DeployExtension=false /p:ZipPackageCompressionLevel=normal /v:m
shell: powershell

- name: Upload build artifacts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security-scan-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
- name: Restore dependencies
run: dotnet restore /home/runner/work/snyk-visual-studio-plugin/snyk-visual-studio-plugin --locked-mode
run: dotnet restore /home/runner/work/snyk-visual-studio-plugin/snyk-visual-studio-plugin
- name: Run snyk monitor
uses: snyk/actions/dotnet@master
continue-on-error: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@
<WarningLevel>4</WarningLevel>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<PropertyGroup>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
</PropertyGroup>
<ItemGroup>
<Compile Include="Analytics\AbstractAnalyticsEvent.cs" />
<Compile Include="Analytics\AnalyticsEvent.cs" />
Expand Down
Loading

0 comments on commit 5cd34f8

Please sign in to comment.