Skip to content

Commit

Permalink
Resolve most CA warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Pythonic-Rainbow committed Feb 6, 2024
1 parent b648d5d commit 7e00450
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Build
run: dotnet publish -c Release -r linux-arm64 --no-self-contained
- name: Upload program
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: Bot
path: |
Expand All @@ -39,7 +39,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Restore
Expand Down
4 changes: 0 additions & 4 deletions Bot/Clash/Coc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,6 @@ private static void CheckMembersLeft(ClanUtil clan)
private static async Task PollAsync()
{
Clan clan = await GetClanAsync();
if (clan == null)
{
return;
}

if (clan.MemberList == null)
{
Expand Down
2 changes: 1 addition & 1 deletion Bot/Sql/Donation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ internal sealed class Donation(string id, long checkTime)
public string MainId { get; set; } = id;

[NotNull]
public uint Donated { get; set; } = 0;
public uint Donated { get; set; }

[NotNull]
public long Checked { get; set; } = checkTime;
Expand Down

0 comments on commit 7e00450

Please sign in to comment.