Skip to content

Commit 966e52f

Browse files
Pin GitHub Actions runners to a specific version (#744)
1 parent 296f409 commit 966e52f

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Diff for: .github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
linux-latest:
3333
name: Linux Latest Config
3434
needs: [linux-min]
35-
runs-on: ubuntu-latest
35+
runs-on: ubuntu-22.04
3636
strategy:
3737
matrix:
3838
compiler: [clang++, g++]
@@ -62,7 +62,7 @@ jobs:
6262
windows:
6363
name: Windows
6464
needs: [linux-min]
65-
runs-on: windows-latest
65+
runs-on: windows-2022
6666
steps:
6767
- uses: actions/checkout@v4
6868
- name: Run Tests

Diff for: .github/workflows/format-code.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
format:
99
name: "Format C++ code"
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-22.04
1111
if: github.event.issue.pull_request != '' && (contains(github.event.comment.body, '/format') || contains(github.event.comment.body, '/clang-format'))
1212
steps:
1313
- name: "Checkout code"

Diff for: .github/workflows/hello-world.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919
jobs:
2020
hello-world-fails:
2121
name: Hello World Fails
22-
runs-on: ubuntu-latest
22+
runs-on: ubuntu-22.04
2323
steps:
2424
- uses: actions/checkout@v4
2525
- name: Check Hello World Fails

Diff for: .github/workflows/verify-code-formatting.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818

1919
jobs:
2020
verify-code-formatting:
21-
runs-on: [ubuntu-latest]
21+
runs-on: [ubuntu-22.04]
2222
steps:
2323
- name: "Checkout code"
2424
uses: actions/checkout@v4

0 commit comments

Comments
 (0)