From fee7c29f319190e4c604fc3e54c060e9b758a687 Mon Sep 17 00:00:00 2001 From: Cameron White Date: Sun, 24 Dec 2023 22:18:52 -0500 Subject: [PATCH] Fix the CI build There is a warning for unavailable Adw.ToolbarView on macOS, which is incorrect (the gir files used by gir.core seem to be outdated on macOS). This does not affect formatting so is okay for now --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 582567633..f7eac0c60 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,7 +55,8 @@ jobs: - name: Test run: make test - name: Verify code formatting - run: dotnet format --no-restore --verify-no-changes + # Ignore warning CA1416 for unavailable platform-specific code, since this is unrelated to formatting. + run: dotnet format --no-restore --verify-no-changes --exclude-diagnostics CA1416 - name: Test Install run: make install - name: Build Installer