1919 runs-on : ${{ matrix.os }}
2020 strategy :
2121 matrix :
22- os : [ ubuntu-22 .04, windows-2022, macos-12 ]
22+ os : [ ubuntu-24 .04, windows-2022, macos-13 ]
2323
2424 env :
2525 AZURE_PASSWORD : ${{ secrets.AZURE_PASSWORD }}
@@ -44,44 +44,57 @@ jobs:
4444
4545 steps :
4646 - name : Checkout the repository
47- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
47+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
4848 - name : Fetch all tags and branches
4949 run : git fetch --prune --unshallow
50- - uses : actions/setup-dotnet@v4.1 .0
50+ - uses : actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0 .0
5151 with :
5252 # codecov needs 2.1
53- # unittests needs 3.1
5453 # gitversion needs 5.0
5554 # cake 1.3 needs 6.0
56- # .NET 9 to build
55+ # unittests needs 6 & 7
56+ # .NET 10 to build
5757 dotnet-version : |
5858 2.1
5959 3.1
6060 5.0
6161 6.0
62+ 7.0
6263 9.0
64+ 10.0
65+ - name : Install mono
66+ if : runner.os == 'Linux'
67+ # check https://www.mono-project.com/download/stable/#download-lin
68+ run : |
69+ sudo apt install ca-certificates gnupg
70+ sudo gpg --homedir /tmp --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
71+ sudo chmod +r /usr/share/keyrings/mono-official-archive-keyring.gpg
72+ echo "deb [signed-by=/usr/share/keyrings/mono-official-archive-keyring.gpg] https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
73+ sudo apt update
74+ sudo apt install -y mono-complete
75+ mono --version
6376 - name : Cache Tools
64- uses : actions/cache@v4
77+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
6578 with :
6679 path : tools
6780 key : ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }}
6881 - name : Build project
69- uses : cake-build/cake-action@v1
82+ uses : cake-build/cake-action@d218f1133bb74a1df0b08c89cfd8fc100c09e1a0 # v3
7083 with :
7184 script-path : recipe.cake
7285 target : CI
73- cake-version : 1.3.0
86+ cake-version : tool-manifest
7487 # currently, Cake.Recipe does not upload artifacts when run on gh-actions
7588 - name : Upload Issues
76- uses : actions/upload-artifact@v4
89+ uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
7790 with :
7891 if-no-files-found : warn
7992 name : ${{ matrix.os }} Issues
8093 path : |
8194 BuildArtifacts/report.html
8295 BuildArtifacts/**/coverlet/*.xml
8396 - name : Upload Packages
84- uses : actions/upload-artifact@v4
97+ uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
8598 if : runner.os == 'Windows'
8699 with :
87100 if-no-files-found : warn
0 commit comments