Skip to content

Commit

Permalink
ci: specify exact OS versions used for testing and releasing
Browse files Browse the repository at this point in the history
This provides better producibility of issues encountered during testing
  • Loading branch information
kyakdan committed Jan 13, 2023
1 parent 0e568c8 commit 4d1be49
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/prerelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
create_release:
name: create release
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
permissions:
contents: write # for creating releases

Expand Down Expand Up @@ -36,7 +36,7 @@ jobs:
needs: [create_release]
strategy:
matrix:
os: [ubuntu-latest, macos-11, windows-latest]
os: [ubuntu-20.04, macos-11, windows-2019]
steps:
- name: checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
release:
name: release
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/run-all-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
linting:
name: lint
runs-on: ubuntu-22.04
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v3
Expand All @@ -32,7 +32,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-11]
os: [ubuntu-20.04, windows-2019, macos-11]
steps:
- name: checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
run: npm run test
fuzz_tests:
name: fuzz tests
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v3
Expand All @@ -91,7 +91,7 @@ jobs:
permissions:
pull-requests: write
contents: write
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: fastify/github-action-merge-dependabot@v3.0.0
with:
Expand Down

0 comments on commit 4d1be49

Please sign in to comment.