Skip to content

Commit

Permalink
ci: specify runner OS version in workflows (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
threeal authored Sep 19, 2024
1 parent 6b2d347 commit f9917ba
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand All @@ -31,7 +31,7 @@ jobs:
build-config: Debug

- name: Check Coverage
if: ${{ matrix.os != 'windows' }}
if: ${{ matrix.os != 'windows-2022' }}
uses: threeal/[email protected]
with:
excludes: build/*
Expand Down

0 comments on commit f9917ba

Please sign in to comment.