Skip to content

Commit

Permalink
ci(qa): Use noninteractive debian frontend by default (#225)
Browse files Browse the repository at this point in the history
Just define it once, use it everytime!
  • Loading branch information
didrocks authored Feb 26, 2024
2 parents c6e5212 + 45d15d7 commit 37e5125
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
pull_request:

env:
DEBIAN_FRONTEND: noninteractive
apt_deps: >-
libpam0g-dev
Expand All @@ -26,8 +27,8 @@ jobs:
steps:
- name: Install dependencies
run: |
sudo DEBIAN_FRONTEND=noninteractive apt update
sudo DEBIAN_FRONTEND=noninteractive apt install -y ${{ env.apt_deps }}
sudo apt update
sudo apt install -y ${{ env.apt_deps }}
- uses: actions/checkout@v4
- name: Go code sanity check
uses: canonical/desktop-engineering/gh-actions/go/code-sanity@main
Expand Down Expand Up @@ -64,8 +65,8 @@ jobs:
steps:
- name: Install dependencies
run: |
sudo DEBIAN_FRONTEND=noninteractive apt update
sudo DEBIAN_FRONTEND=noninteractive apt install -y ${{ env.apt_deps }} ${{ env.protobuf_compilers}}
sudo apt update
sudo apt install -y ${{ env.apt_deps }} ${{ env.protobuf_compilers}}
- uses: actions/checkout@v4
- name: Rust code sanity check
uses: canonical/desktop-engineering/gh-actions/rust/code-sanity@main
Expand All @@ -78,10 +79,10 @@ jobs:
steps:
- name: Install dependencies
run: |
sudo DEBIAN_FRONTEND=noninteractive apt update
sudo apt update
# The integration tests build the NSS crate, so we need the cargo build dependencies in order to run them.
sudo DEBIAN_FRONTEND=noninteractive apt install -y ${{ env.apt_deps }} ${{ env.protobuf_compilers}} ${{ env.test_apt_deps }}
sudo apt install -y ${{ env.apt_deps }} ${{ env.protobuf_compilers}} ${{ env.test_apt_deps }}
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
Expand Down

0 comments on commit 37e5125

Please sign in to comment.