Switch to buildenv for test builds
This commit is contained in:
parent
4ce20e3dd9
commit
e0ca80db32
@ -7,30 +7,19 @@ on:
|
||||
|
||||
jobs:
|
||||
audit:
|
||||
runs-on: haskell
|
||||
runs-on: buildenv
|
||||
steps:
|
||||
- name: Set up environment
|
||||
run: |
|
||||
apt-get update -y
|
||||
apt-get upgrade -y
|
||||
apt-get install -y nodejs pkg-config liblzma-dev
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
cabal update
|
||||
cabal install hlint "--constraint=hlint ==3.8"
|
||||
- run: cabal exec hlint -- src lib tests
|
||||
- run: hlint src lib tests
|
||||
|
||||
test:
|
||||
runs-on: haskell
|
||||
runs-on: buildenv
|
||||
steps:
|
||||
- name: Set up environment
|
||||
run: |
|
||||
apt-get update -y
|
||||
apt-get upgrade -y
|
||||
apt-get install -y nodejs pkg-config liblzma-dev
|
||||
apt-get install -y pkg-config liblzma-dev
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
cabal update
|
||||
- run: cabal update
|
||||
- run: cabal test --test-show-details=streaming
|
||||
|
Loading…
Reference in New Issue
Block a user