From a34fdf00892b0d5efec7ac4eb212609930beefbd Mon Sep 17 00:00:00 2001 From: Serkyo Date: Fri, 7 Aug 2026 00:47:54 +0200 Subject: [PATCH] ci(workspace): remove sudo as runner executes as root --- .forgejo/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 0949978..472a8ee 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Install git-lfs - run: sudo apt-get update && sudo apt-get install -y git-lfs + run: apt-get update && apt-get install -y git-lfs - uses: https://github.com/actions/checkout@v4 with: lfs: true @@ -29,7 +29,7 @@ jobs: uses: https://github.com/Swatinem/rust-cache@v2 - name: Install shader compiler - run: sudo apt-get update && sudo apt-get install -y libshaderc-dev + run: apt-get update && apt-get install -y libshaderc-dev - name: Check Rust Formatting run: cargo fmt --all -- --check @@ -42,7 +42,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Install git-lfs - run: sudo apt-get update && sudo apt-get install -y git-lfs + run: apt-get update && apt-get install -y git-lfs - uses: https://github.com/actions/checkout@v4 with: lfs: true @@ -54,7 +54,7 @@ jobs: uses: https://github.com/Swatinem/rust-cache@v2 - name: Install shader compiler - run: sudo apt-get update && sudo apt-get install -y libshaderc-dev + run: apt-get update && apt-get install -y libshaderc-dev - name: Run Tests run: cargo test --workspace --all-features @@ -64,7 +64,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Install git-lfs - run: sudo apt-get update && sudo apt-get install -y git-lfs + run: apt-get update && apt-get install -y git-lfs - uses: https://github.com/actions/checkout@v4 - name: Check Lua Formatting @@ -83,7 +83,7 @@ jobs: steps: # Checkout without smudging LFS content so the committed git objects can be inspected directly; a raw-committed binary is only distinguishable from a proper pointer at the object level, not in a smudged working tree. - name: Install git-lfs - run: sudo apt-get update && sudo apt-get install -y git-lfs + run: apt-get update && apt-get install -y git-lfs - uses: https://github.com/actions/checkout@v4 with: lfs: false