From 5847547d81923354b7cf72117415c7a4d81f08aa Mon Sep 17 00:00:00 2001 From: Kristian Bendiksen Date: Wed, 23 Nov 2022 18:23:16 +0100 Subject: [PATCH] #8981 GitHub Actions: Pin VM version used for daily builds --- .github/workflows/ResInsightWithCache.yml | 6 +++--- .github/workflows/cmake-format.yml | 2 +- .github/workflows/python-linting.yml | 2 +- .github/workflows/spell-check.yml | 3 +-- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ResInsightWithCache.yml b/.github/workflows/ResInsightWithCache.yml index 01fd920bf4..72c28918ed 100644 --- a/.github/workflows/ResInsightWithCache.yml +++ b/.github/workflows/ResInsightWithCache.yml @@ -22,7 +22,7 @@ jobs: config: - { name: "Windows Latest MSVC", - os: windows-latest, + os: windows-2022, cc: "cl", cxx: "cl", vcpkg-response-file: vcpkg_x64-windows.txt, @@ -32,7 +32,7 @@ jobs: } - { name: "Ubuntu Latest gcc", - os: ubuntu-latest, + os: ubuntu-20.04, cc: "gcc", cxx: "g++", vcpkg-response-file: vcpkg_x64-linux.txt, @@ -42,7 +42,7 @@ jobs: } - { name: "Ubuntu Latest clang", - os: ubuntu-latest, + os: ubuntu-20.04, cc: "clang", cxx: "clang++", vcpkg-response-file: vcpkg_x64-linux.txt, diff --git a/.github/workflows/cmake-format.yml b/.github/workflows/cmake-format.yml index bca0307938..73989b74fa 100644 --- a/.github/workflows/cmake-format.yml +++ b/.github/workflows/cmake-format.yml @@ -4,7 +4,7 @@ on: [push] jobs: cmake-format-job: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - name: Install cmakelang for cmake-format run: | diff --git a/.github/workflows/python-linting.yml b/.github/workflows/python-linting.yml index ad836025c3..f0ee1f4e78 100644 --- a/.github/workflows/python-linting.yml +++ b/.github/workflows/python-linting.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: lint: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 diff --git a/.github/workflows/spell-check.yml b/.github/workflows/spell-check.yml index 72a144dfb7..542f162d38 100644 --- a/.github/workflows/spell-check.yml +++ b/.github/workflows/spell-check.yml @@ -5,8 +5,7 @@ on: jobs: build: - runs-on: ubuntu-latest - + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 - uses: sobolevn/misspell-fixer-action@master