Skip to content

Commit

Permalink
CI: Pin OS versions
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanGlScott committed May 12, 2022
1 parent cf89e99 commit 35df95e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ env:

jobs:
config:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
outputs:
name: ${{ steps.config.outputs.name }}
version: ${{ steps.config.outputs.version }}
Expand Down Expand Up @@ -58,15 +58,15 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-20.04, macos-11, windows-2022]
ghc-version: ["8.8.4", "8.10.7", "9.0.2", "9.2.2"]
exclude:
# https://gitlab.haskell.org/ghc/ghc/-/issues/18550
- os: windows-latest
- os: windows-2022
ghc-version: 8.10.7
- os: windows-latest
- os: windows-2022
ghc-version: 9.0.2
- os: windows-latest
- os: windows-2022
ghc-version: 9.2.2
outputs:
test-lib-json: ${{ steps.test-lib.outputs.targets-json }}
Expand Down Expand Up @@ -223,20 +223,20 @@ jobs:
matrix:
suite: [test-lib]
target: ${{ fromJson(needs.build.outputs.test-lib-json) }}
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-20.04, macos-11, windows-2022]
continue-on-error: [false]
include:
- suite: rpc
target: ''
os: ubuntu-latest
os: ubuntu-20.04
continue-on-error: false
#- suite: rpc
# target: ''
# os: macos-latest
# os: macos-11
# continue-on-error: false
#- suite: rpc
# target: ''
# os: windows-latest
# os: windows-2022
# continue-on-error: true # TODO: get Python client to work on Windows
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -301,7 +301,7 @@ jobs:
cryptol-remote-api/run_rpc_tests.sh
build-push-image:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: [config]
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
strategy:
Expand Down

0 comments on commit 35df95e

Please sign in to comment.