refactor(test.yml): use apt-get without sudo in CI
Some checks failed
Test! / test (push) Failing after 1m18s
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:
parent
d4afc756c4
commit
c5ae1eef67
1 changed files with 2 additions and 2 deletions
|
@ -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: |
|
||||
|
|
Loading…
Reference in a new issue