1919 runs-on : ${{ matrix.os }}
2020 strategy :
2121 matrix :
22- os : [windows-latest, macos-13, ubuntu-latest ]
22+ os : [windows-2022, ubuntu-22.04 ]
2323
2424 env :
2525 AZURE_PASSWORD : ${{ secrets.AZURE_PASSWORD }}
@@ -44,39 +44,38 @@ jobs:
4444
4545 steps :
4646 - name : Checkout the repository
47- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
47+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
4848
4949 - name : Fetch all tags and branches
5050 run : git fetch --prune --unshallow
5151
5252 # codecov and unittests need 2.1, gitversion needs 5.0
53- - uses : actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee # v4.0 .1
53+ - uses : actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3 .1
5454 with :
5555 dotnet-version : |
5656 2.1
5757 3.1
5858 5.0
5959 6.0
60- 7.0
61- 8.0
60+ 9.0
6261
6362 - name : Cache Tools
64- uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
63+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
6564 with :
6665 path : tools
6766 key : ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }}
6867
6968 - name : Build project
70- uses : cake-build/cake-action@1223b6fa067ad192159f43b50cd4f953679b0934 # v2.0.0
69+ uses : cake-build/cake-action@5167c3f6a9e15c76f009de2acdfb9488552bc0b9 # v3
7170 with :
7271 script-path : recipe.cake
7372 target : CI
7473 verbosity : Diagnostic
75- cake-version : 1.3.0
74+ cake-version : tool-manifest
7675
7776 # currently, Cake.Recipe does not upload artifacts when run on gh-actions
7877 - name : Upload Issues
79- uses : actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4
78+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
8079 with :
8180 if-no-files-found : warn
8281 name : ${{ matrix.os }} Issues
8584 BuildArtifacts/**/coverlet/*.xml
8685
8786 - name : Upload Packages
88- uses : actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4
87+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
8988 if : runner.os == 'Windows'
9089 with :
9190 if-no-files-found : warn
0 commit comments