Skip to content

Commit 7b4e2ee

Browse files
authored
Merge pull request #44 from vb2ae/nerd-bank-version
Update CI workflows for repository checkout and versioning
2 parents 1f6e750 + af867f2 commit 7b4e2ee

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/codeql.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ jobs:
5656
steps:
5757
- name: Checkout repository
5858
uses: actions/checkout@v4
59-
59+
with:
60+
fetch-depth: 0
61+
6062
# Initializes the CodeQL tools for scanning.
6163
- name: Initialize CodeQL
6264
uses: github/codeql-action/init@v3

.github/workflows/dotnet.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ jobs:
3131

3232
- name: Install Microsoft SBom tool
3333
run: dotnet tool install --global Microsoft.Sbom.DotNetTool
34+
35+
- name: Install Nerdbank Git versioning
36+
run: dotnet tool install -g nbgv
37+
- name: Set Version
38+
run: nbgv cloud
3439

3540
- name: Build
3641
run: dotnet build --no-restore --configuration Release

0 commit comments

Comments
 (0)