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:
|
steps:
|
||||||
- name: Install checkout dependencies
|
- name: Install checkout dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
apt-get update -qq
|
||||||
sudo apt-get install -y --no-install-recommends curl ca-certificates
|
apt-get install -y --no-install-recommends curl ca-certificates
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
run: |
|
run: |
|
||||||
@ -54,8 +54,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Install checkout dependencies
|
- name: Install checkout dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
apt-get update -qq
|
||||||
sudo apt-get install -y --no-install-recommends curl ca-certificates
|
apt-get install -y --no-install-recommends curl ca-certificates
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
run: |
|
run: |
|
||||||
@ -68,8 +68,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Install system dependencies
|
- name: Install system dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
apt-get update -qq
|
||||||
sudo apt-get install -y --no-install-recommends pkg-config libssl-dev
|
apt-get install -y --no-install-recommends pkg-config libssl-dev
|
||||||
|
|
||||||
- name: Ensure Rust toolchain
|
- name: Ensure Rust toolchain
|
||||||
run: |
|
run: |
|
||||||
@ -102,8 +102,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Install checkout dependencies
|
- name: Install checkout dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
apt-get update -qq
|
||||||
sudo apt-get install -y --no-install-recommends curl ca-certificates
|
apt-get install -y --no-install-recommends curl ca-certificates
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
run: |
|
run: |
|
||||||
@ -116,8 +116,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Install system dependencies
|
- name: Install system dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
apt-get update -qq
|
||||||
sudo apt-get install -y --no-install-recommends pkg-config libssl-dev
|
apt-get install -y --no-install-recommends pkg-config libssl-dev
|
||||||
|
|
||||||
- name: Ensure Rust toolchain
|
- name: Ensure Rust toolchain
|
||||||
run: |
|
run: |
|
||||||
@ -139,8 +139,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Install checkout dependencies
|
- name: Install checkout dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
apt-get update -qq
|
||||||
sudo apt-get install -y --no-install-recommends curl ca-certificates
|
apt-get install -y --no-install-recommends curl ca-certificates
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
run: |
|
run: |
|
||||||
@ -175,8 +175,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Install checkout dependencies
|
- name: Install checkout dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
apt-get update -qq
|
||||||
sudo apt-get install -y --no-install-recommends curl ca-certificates
|
apt-get install -y --no-install-recommends curl ca-certificates
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
run: |
|
run: |
|
||||||
@ -209,8 +209,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Install system dependencies
|
- name: Install system dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
apt-get update -qq
|
||||||
sudo apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
curl pkg-config libssl-dev ca-certificates \
|
curl pkg-config libssl-dev ca-certificates \
|
||||||
git nodejs npm dpkg-dev python3
|
git nodejs npm dpkg-dev python3
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user