Skip to content

Commit

Permalink
Remove SDK setup steps
Browse files Browse the repository at this point in the history
- Attempt to fix the workflow by removing steps to setup the .NET SDK and use the NuGet cache.
- Fix name to match file.
  • Loading branch information
martincostello committed Apr 3, 2024
1 parent 03c79b1 commit d324b8e
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: code-scan
name: codeql-analysis

on:
push:
Expand Down Expand Up @@ -30,16 +30,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2

- name: Setup .NET SDK
uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4.0.0

- name: Setup NuGet cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', '**/*.props') }}
restore-keys: ${{ runner.os }}-nuget-

- name: Initialize CodeQL
uses: github/codeql-action/init@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9
with:
Expand Down

0 comments on commit d324b8e

Please sign in to comment.