Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pin CI to ubuntu-20.04 #3401

Merged
merged 6 commits into from
Dec 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

check:
name: 'Check'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Check out code
uses: actions/[email protected]
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:

release:
name: 'Release'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Check out code
uses: actions/[email protected]
Expand All @@ -70,7 +70,7 @@ jobs:

cache-cabal:
name: 'Cache Cabal'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
ghc_version: "8.10.7"
steps:
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:

cache-stack:
name: 'Cache Stack'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Install prerequisites
run: |
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:

cache-stack-haddock:
name: 'Cache Stack Haddock'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Install prerequisites
run: |
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:

update-dependents:
name: 'Publish Release'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
environment: production
needs: [check, release, cache-cabal, cache-stack, cache-stack-haddock]
steps:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
fail-fast: false
matrix:
include:
- runner: ubuntu-latest
os: ubuntu-latest
- runner: ubuntu-20.04
os: ubuntu-20.04
- runner: macos-12
os: macos-12
- runner: MacM1
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:

nix-integration:
name: 'Nix / Integration'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: nix-build
steps:
- name: Check out code
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:

cabal:
name: 'Cabal / Unit Tests'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
ghc_version: "8.10.7"
steps:
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:

stack:
name: 'Stack / Unit Tests'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Install prerequisites
run: |
Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:

stack-haddock:
name: 'Stack / Haddock check'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Install prerequisites
run: |
Expand Down Expand Up @@ -209,7 +209,7 @@ jobs:
stack haddock --fast
hlint:
name: 'HLint'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
hlint_version: "3.4.1"
steps:
Expand All @@ -228,7 +228,7 @@ jobs:
performance:
needs: [nix-build]
name: 'Performance'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Check out code
uses: actions/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
nix:
name: 'Nix'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- id: config
run: |
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:

fourmolu:
name: 'Style'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- id: config
run: |
Expand Down