Skip to content

Commit f79b612

Browse files
committed
ci: update GitHub Actions workflows
- Pin cake-build/cake-action to v3.0.1 for reproducible builds - Update macOS runner to macos-15-intel (add TODO for macos-15-arm64) - Upgrade CodeQL actions from v2 to v4 - Update actions/checkout from v3 to v5
1 parent f0f03d9 commit f79b612

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
os: [windows-latest, macos-latest, ubuntu-latest]
27+
os: [windows-latest, macos-15-intel ubuntu-latest] # TODO: Add macos-15-arm64, native tests currently only run on x64
2828
steps:
2929
- name: Get the sources
3030
uses: actions/checkout@v5
@@ -45,7 +45,7 @@ jobs:
4545

4646
- name: Run Cake script
4747
id: build-cake
48-
uses: cake-build/cake-action@master
48+
uses: cake-build/cake-action@v3.0.1
4949
env:
5050
AZURE_DEVOPS_NUGET_API_KEY: ${{ secrets.AZURE_DEVOPS_NUGET_API_KEY }}
5151
AZURE_DEVOPS_NUGET_API_URL: ${{ secrets.AZURE_DEVOPS_NUGET_API_URL }}
@@ -55,7 +55,7 @@ jobs:
5555

5656
- name: Validate Integration Tests
5757
id: validate-cake
58-
uses: cake-build/cake-action@master
58+
uses: cake-build/cake-action@v3.0.1
5959
with:
6060
script-path: tests/integration/Cake.Common/Build/GitHubActions/ValidateGitHubActionsProvider.cake
6161
cake-version: tool-manifest

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ jobs:
2020

2121
steps:
2222
- name: Checkout repository
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v5
2424
with:
2525
fetch-depth: 0
2626

2727
- name: Initialize CodeQL
28-
uses: github/codeql-action/init@v2
28+
uses: github/codeql-action/init@v4
2929
with:
3030
languages: ${{ matrix.language }}
3131

3232
- name: Autobuild
33-
uses: github/codeql-action/autobuild@v2
33+
uses: github/codeql-action/autobuild@v4
3434

3535
- name: Perform CodeQL Analysis
36-
uses: github/codeql-action/analyze@v2
36+
uses: github/codeql-action/analyze@v4

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949

5050

5151
- name: Build & Release Cake
52-
uses: cake-build/cake-action@master
52+
uses: cake-build/cake-action@v3.0.1
5353
env:
5454
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5555
CAKE_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)