Skip to content

Commit

Permalink
Remove packages lock json [skip ci] (#737)
Browse files Browse the repository at this point in the history
It's too annoying to enable builds using the lock file and have
dependabot working, at least until dependabot can update this file by
itself dependabot/dependabot-core#1303
  • Loading branch information
SapiensAnatis committed Mar 24, 2024
1 parent 35095db commit 671a513
Show file tree
Hide file tree
Showing 19 changed files with 2 additions and 13,604 deletions.
39 changes: 0 additions & 39 deletions .github/workflows/dependabot.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
uses: actions/cache@v4
with:
path: .nuget-cache
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}-${{ steps.get-name.outputs.name }}
key: ${{ runner.os }}-nuget-${{ hashFiles('Directory.Packages.props') }}-${{ steps.get-name.outputs.name }}
restore-keys: |
${{ runner.os }}-nuget-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
uses: actions/cache@v4
with:
path: .nuget-cache
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}-${{ steps.get-name.outputs.name }}
key: ${{ runner.os }}-nuget-${{ hashFiles('Directory.Packages.props') }}-${{ steps.get-name.outputs.name }}
restore-keys: |
${{ runner.os }}-nuget-
Expand Down
5 changes: 0 additions & 5 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,4 @@
<!-- Define the TEST condition to allow test runs in release mode to access conditionally compiled controllers. -->
<DefineConstants Condition="$(AUTOMATED_TESTING) == 'true'">TEST;$(DefineConstants)</DefineConstants>
</PropertyGroup>

<PropertyGroup Label="NuGet">
<RestoreLockedMode Condition="'$(CI_BUILD)' == 'true'">true</RestoreLockedMode>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
</PropertyGroup>
</Project>
1 change: 0 additions & 1 deletion DragaliaAPI.sln
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{1A23
.github\workflows\integration-test.yaml = .github\workflows\integration-test.yaml
.github\workflows\test-api.yaml = .github\workflows\test-api.yaml
.github\workflows\test-statemanager.yaml = .github\workflows\test-statemanager.yaml
.github\workflows\dependabot.yaml = .github\workflows\dependabot.yaml
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DragaliaAPI.Test.Utils", "DragaliaAPI\DragaliaAPI.Test.Utils\DragaliaAPI.Test.Utils.csproj", "{41916B7C-6304-4504-99C0-B24D23982F7E}"
Expand Down
Loading

0 comments on commit 671a513

Please sign in to comment.