diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-04-25 13:42:08 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-06-14 18:54:49 -0300 |
commit | 15e40e9ae48dcab4f317215fe5aef8a58f7259dc (patch) | |
tree | d66499339558c8c6ffc53ab981b394368f0c4598 /.github/workflows/build.yml | |
parent | ci: remove commented profile checks from build jobs (diff) | |
download | firejail-15e40e9ae48dcab4f317215fe5aef8a58f7259dc.tar.gz firejail-15e40e9ae48dcab4f317215fe5aef8a58f7259dc.tar.zst firejail-15e40e9ae48dcab4f317215fe5aef8a58f7259dc.zip |
ci: standardize apt-get update/install
General changes:
* Use a single -q on update, as the output is not too long
* Use a single -q on install, to show all packages at once
GitLab-specific changes:
* Use `DEBIAN_FRONTEND=noninteractive` to reduce noise
* Use --no-install-recommends to avoid installing unnecessary packages
* Filter out uninteresting lines on install
Note: `DEBIAN_FRONTEND` does not appear to be needed in the default
GitHub runner container and not many packages are currently being
downloaded/installed in them, so do the above changes only jobs that use
custom Docker images.
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r-- | .github/workflows/build.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 82ec9b5bf..ea85e1109 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
@@ -63,10 +63,10 @@ jobs: | |||
63 | yahoo.com:1025 | 63 | yahoo.com:1025 |
64 | - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | 64 | - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
65 | - name: update package information | 65 | - name: update package information |
66 | run: sudo apt-get update | 66 | run: sudo apt-get update -qy |
67 | - name: install dependencies | 67 | - name: install dependencies |
68 | run: > | 68 | run: > |
69 | sudo apt-get install | 69 | sudo apt-get install -qy |
70 | gcc-12 libapparmor-dev libselinux1-dev expect xzdec whois | 70 | gcc-12 libapparmor-dev libselinux1-dev expect xzdec whois |
71 | bridge-utils | 71 | bridge-utils |
72 | - name: print env | 72 | - name: print env |