Skip to content

Change ImperatorToCK3.UnitTests dependencies weekly #1981

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ updates:
directory: "/ImperatorToCK3.UnitTests/"
# Check the nuget registry for updates every day (weekdays) schedule:
schedule:
interval: "daily"
interval: "weekly"

- package-ecosystem: "github-actions"
# Workflow files stored in the
Expand Down
3 changes: 2 additions & 1 deletion ImperatorToCK3/CK3/Dynasties/HouseCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using commonItems.Collections;
using commonItems.Mods;
using ImperatorToCK3.CK3.Characters;
using System.Collections.Generic;
using System.Linq;

namespace ImperatorToCK3.CK3.Dynasties;
Expand All @@ -22,7 +23,7 @@ public void LoadCK3Houses(ModFilesystem ck3ModFS) {
public void PurgeUnneededHouses(CharacterCollection ck3Characters, Date date) {
Logger.Info("Purging unneeded dynasty houses...");

var houseIdsToKeep = ck3Characters
HashSet<string> houseIdsToKeep = ck3Characters
.Select(c => c.GetDynastyHouseId(date))
.Where(id => id is not null)
.Distinct()
Expand Down
Loading