ci: make sure apt works in noninteractive mode

This commit is contained in:
Glenn Y. Rolland 2022-02-06 13:21:57 +01:00
parent b89e9196f9
commit d68a4af4b6

View file

@ -6,6 +6,9 @@ on:
pull_request:
branches: [ master ]
env:
DEBIAN_FRONTEND: noninteractive
jobs:
test:
runs-on: ubuntu-latest
@ -18,7 +21,7 @@ jobs:
- name: Install system dependencies
run: |
apt-get update
apt-get install cmake
apt-get install -y cmake
- name: Install project dependencies
run: shards install
- name: Run tests
@ -36,7 +39,7 @@ jobs:
- name: Install system dependencies
run: |
apt-get update
apt-get install cmake
apt-get install -y cmake
- name: Install project dependencies
run: shards install