refactor(test.yml): use apt-get without sudo in CI
Some checks failed
Test! / test (push) Failing after 1m18s

Optimized the Docker installation commands in the CI workflow by removing `sudo` when calling `apt-get`. This adjustment caters to environments where the CI runner executes as root or has adequate permissions, streamlining command execution and avoiding potential issues related to `sudo` availability or configuration. This change harmonizes with CI practices that favor minimalist, permission-aware setups.
This commit is contained in:
Kumi 2024-04-22 16:59:14 +02:00
parent d4afc756c4
commit c5ae1eef67
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -20,8 +20,8 @@ jobs:
- name: Install Docker
run: |
sudo apt-get update
sudo apt-get install -y docker.io
apt-get update
apt-get install -y docker.io
- name: Build and run SSH Server Docker Container
run: |