Skip to content

Commit

Permalink
Pin GitHub Actions runners to a specific version (#744)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom authored Nov 14, 2023
1 parent 296f409 commit 966e52f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
linux-latest:
name: Linux Latest Config
needs: [linux-min]
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
compiler: [clang++, g++]
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
windows:
name: Windows
needs: [linux-min]
runs-on: windows-latest
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
- name: Run Tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
format:
name: "Format C++ code"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.event.issue.pull_request != '' && (contains(github.event.comment.body, '/format') || contains(github.event.comment.body, '/clang-format'))
steps:
- name: "Checkout code"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hello-world.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:
jobs:
hello-world-fails:
name: Hello World Fails
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Check Hello World Fails
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/verify-code-formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:

jobs:
verify-code-formatting:
runs-on: [ubuntu-latest]
runs-on: [ubuntu-22.04]
steps:
- name: "Checkout code"
uses: actions/checkout@v4
Expand Down

0 comments on commit 966e52f

Please sign in to comment.