From 069ed9adda431934903d8b65a44cb82bd07f2faa Mon Sep 17 00:00:00 2001 From: Erik Schierboom Date: Thu, 9 Nov 2023 15:51:44 +0100 Subject: [PATCH] Pin GitHub Actions runners to a specific version --- .github/workflows/action-format.yml | 2 +- .github/workflows/ci.js.yml | 4 ++-- .github/workflows/codeql.yml | 2 +- .github/workflows/pr.ci.js.yml | 4 ++-- .github/workflows/verify-code-formatting.yml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/action-format.yml b/.github/workflows/action-format.yml index 0c58d70f..3f591690 100644 --- a/.github/workflows/action-format.yml +++ b/.github/workflows/action-format.yml @@ -7,7 +7,7 @@ on: jobs: format: name: 'Format code' - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/format') steps: - name: 'Post acknowledgement that it will format code' diff --git a/.github/workflows/ci.js.yml b/.github/workflows/ci.js.yml index 0cfb472d..37feedd0 100644 --- a/.github/workflows/ci.js.yml +++ b/.github/workflows/ci.js.yml @@ -9,7 +9,7 @@ on: jobs: precheck: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 @@ -25,7 +25,7 @@ jobs: run: bin/lint.sh ci: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 334d6e9d..79da8e44 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -16,7 +16,7 @@ on: jobs: analyze: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: fail-fast: false diff --git a/.github/workflows/pr.ci.js.yml b/.github/workflows/pr.ci.js.yml index 555f4f35..f7d1c139 100644 --- a/.github/workflows/pr.ci.js.yml +++ b/.github/workflows/pr.ci.js.yml @@ -7,7 +7,7 @@ on: pull_request jobs: precheck: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout PR @@ -25,7 +25,7 @@ jobs: run: bin/lint.sh ci: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: diff --git a/.github/workflows/verify-code-formatting.yml b/.github/workflows/verify-code-formatting.yml index 5dfc77ce..813ae613 100644 --- a/.github/workflows/verify-code-formatting.yml +++ b/.github/workflows/verify-code-formatting.yml @@ -7,7 +7,7 @@ on: jobs: verify: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: 'Checkout code' uses: actions/checkout@v3