diff --git a/.github/workflows/Publish.yml b/.github/workflows/Publish.yml index 26433d95..6686f802 100644 --- a/.github/workflows/Publish.yml +++ b/.github/workflows/Publish.yml @@ -187,6 +187,7 @@ jobs: Qodana_Scan: needs: Build_Test_Coverage runs-on: ubuntu-latest + timeout-minutes: 20 permissions: contents: read checks: write diff --git a/lib/feeds/gbm/Gbm.Tests.cs b/lib/feeds/gbm/Gbm.Tests.cs index d9197729..7681a75e 100644 --- a/lib/feeds/gbm/Gbm.Tests.cs +++ b/lib/feeds/gbm/Gbm.Tests.cs @@ -272,7 +272,8 @@ public class GBMTests } // GBM should not expose any history storage - var type = gbm.GetType(); + // Use typeof() instead of GetType() to satisfy trimming analyzer + var type = typeof(GBM); var barsProperty = type.GetProperty("Bars"); Assert.Null(barsProperty);