ci: Remove sudo from apt-get commands - runner executes as root in host mode
Some checks failed
CI Pipeline / Rust Format Check (push) Failing after 0s
CI Pipeline / Clippy Lints (push) Failing after 0s
CI Pipeline / Rust Unit Tests (push) Failing after 0s
CI Pipeline / Security Audit (push) Failing after 0s
CI Pipeline / Frontend Lint & Type Check (push) Failing after 0s
CI Pipeline / Build .deb & Release (push) Has been skipped
Some checks failed
CI Pipeline / Rust Format Check (push) Failing after 0s
CI Pipeline / Clippy Lints (push) Failing after 0s
CI Pipeline / Rust Unit Tests (push) Failing after 0s
CI Pipeline / Security Audit (push) Failing after 0s
CI Pipeline / Frontend Lint & Type Check (push) Failing after 0s
CI Pipeline / Build .deb & Release (push) Has been skipped
- sudo not available in all execution contexts - /root/.cache/act/ workspace indicates root user execution - apt-get works directly without sudo when running as root
This commit is contained in:
@ -20,8 +20,8 @@ jobs:
|
||||
steps:
|
||||
- name: Install checkout dependencies
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -y --no-install-recommends curl ca-certificates
|
||||
apt-get update -qq
|
||||
apt-get install -y --no-install-recommends curl ca-certificates
|
||||
|
||||
- name: Checkout repository
|
||||
run: |
|
||||
@ -54,8 +54,8 @@ jobs:
|
||||
steps:
|
||||
- name: Install checkout dependencies
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -y --no-install-recommends curl ca-certificates
|
||||
apt-get update -qq
|
||||
apt-get install -y --no-install-recommends curl ca-certificates
|
||||
|
||||
- name: Checkout repository
|
||||
run: |
|
||||
@ -68,8 +68,8 @@ jobs:
|
||||
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -y --no-install-recommends pkg-config libssl-dev
|
||||
apt-get update -qq
|
||||
apt-get install -y --no-install-recommends pkg-config libssl-dev
|
||||
|
||||
- name: Ensure Rust toolchain
|
||||
run: |
|
||||
@ -102,8 +102,8 @@ jobs:
|
||||
steps:
|
||||
- name: Install checkout dependencies
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -y --no-install-recommends curl ca-certificates
|
||||
apt-get update -qq
|
||||
apt-get install -y --no-install-recommends curl ca-certificates
|
||||
|
||||
- name: Checkout repository
|
||||
run: |
|
||||
@ -116,8 +116,8 @@ jobs:
|
||||
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -y --no-install-recommends pkg-config libssl-dev
|
||||
apt-get update -qq
|
||||
apt-get install -y --no-install-recommends pkg-config libssl-dev
|
||||
|
||||
- name: Ensure Rust toolchain
|
||||
run: |
|
||||
@ -139,8 +139,8 @@ jobs:
|
||||
steps:
|
||||
- name: Install checkout dependencies
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -y --no-install-recommends curl ca-certificates
|
||||
apt-get update -qq
|
||||
apt-get install -y --no-install-recommends curl ca-certificates
|
||||
|
||||
- name: Checkout repository
|
||||
run: |
|
||||
@ -175,8 +175,8 @@ jobs:
|
||||
steps:
|
||||
- name: Install checkout dependencies
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -y --no-install-recommends curl ca-certificates
|
||||
apt-get update -qq
|
||||
apt-get install -y --no-install-recommends curl ca-certificates
|
||||
|
||||
- name: Checkout repository
|
||||
run: |
|
||||
@ -209,8 +209,8 @@ jobs:
|
||||
steps:
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -y --no-install-recommends \
|
||||
apt-get update -qq
|
||||
apt-get install -y --no-install-recommends \
|
||||
curl pkg-config libssl-dev ca-certificates \
|
||||
git nodejs npm dpkg-dev python3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user