From 66fa2781d64ffea29e77db27bb314f2ede7ef78d Mon Sep 17 00:00:00 2001 From: Alfi Maulana Date: Tue, 10 Sep 2024 21:03:32 +0700 Subject: [PATCH] ci: specify runner OS version in workflows --- .github/workflows/build.yaml | 4 ++-- .github/workflows/check.yaml | 2 +- .github/workflows/test.yaml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7b88e73..aef5ed3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -7,11 +7,11 @@ on: jobs: build-project: name: Build Project - runs-on: ${{ matrix.os }}-latest + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - os: [ubuntu, windows] + os: [ubuntu-22.04, windows-2022] steps: - name: Checkout uses: actions/checkout@v4.1.7 diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index f68a290..c9869f5 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -7,7 +7,7 @@ on: jobs: check-project: name: Check Project - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v4.1.7 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index a6f5b68..7706f57 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -7,11 +7,11 @@ on: jobs: test-project: name: Test Project - runs-on: ${{ matrix.os }}-latest + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - os: [ubuntu, windows] + os: [ubuntu-22.04, windows-2022] steps: - name: Checkout uses: actions/checkout@v4.1.7