Skip to content

Commit 1847a94

Browse files
committed
pin version
Signed-off-by: Gabriele Santomaggio <[email protected]>
1 parent 04af763 commit 1847a94

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.github/workflows/wf_build-and-test.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@ jobs:
1111
env:
1212
NUGET_CERT_REVOCATION_MODE: offline
1313
steps:
14+
- name: Clone repository
1415
- uses: actions/checkout@v4
16+
- name: Setup .NET SDK
17+
uses: actions/setup-dotnet@v4
18+
with:
19+
global-json-file: global.json
1520
- uses: actions/cache@v4
1621
with:
1722
# Note: the cache path is relative to the workspace directory
@@ -56,7 +61,12 @@ jobs:
5661
build-ubuntu:
5762
runs-on: ubuntu-latest
5863
steps:
64+
- name: Clone repository
5965
- uses: actions/checkout@v4
66+
- name: Setup .NET SDK
67+
uses: actions/setup-dotnet@v4
68+
with:
69+
global-json-file: global.json
6070
- uses: actions/cache@v4
6171
with:
6272
path: |

global.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"sdk": {
3+
"version": "8.0.0",
4+
"allowPrerelease": false,
5+
"rollForward": "latestFeature"
6+
}
7+
}

0 commit comments

Comments
 (0)