diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 29cbae5..33fdce6 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -42,6 +42,14 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Cache .NET packages + uses: actions/cache@v4 + with: + path: ~/.nuget/packages + key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} + restore-keys: | + ${{ runner.os }}-nuget- + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v3