ci(workspace): remove sudo as runner executes as root
Some checks failed
CI / Rust Check & Lint (push) Failing after 6m28s
CI / Rust Tests (push) Failing after 6m43s
CI / Lua Lint & Format (push) Failing after 6s
CI / LFS Pointer Guard (push) Successful in 5s

This commit is contained in:
Serkyo 2026-08-07 00:47:54 +02:00
parent 76571abe4b
commit a34fdf0089

View file

@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Install git-lfs - 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 - uses: https://github.com/actions/checkout@v4
with: with:
lfs: true lfs: true
@ -29,7 +29,7 @@ jobs:
uses: https://github.com/Swatinem/rust-cache@v2 uses: https://github.com/Swatinem/rust-cache@v2
- name: Install shader compiler - 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 - name: Check Rust Formatting
run: cargo fmt --all -- --check run: cargo fmt --all -- --check
@ -42,7 +42,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Install git-lfs - 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 - uses: https://github.com/actions/checkout@v4
with: with:
lfs: true lfs: true
@ -54,7 +54,7 @@ jobs:
uses: https://github.com/Swatinem/rust-cache@v2 uses: https://github.com/Swatinem/rust-cache@v2
- name: Install shader compiler - 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 - name: Run Tests
run: cargo test --workspace --all-features run: cargo test --workspace --all-features
@ -64,7 +64,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Install git-lfs - 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 - uses: https://github.com/actions/checkout@v4
- name: Check Lua Formatting - name: Check Lua Formatting
@ -83,7 +83,7 @@ jobs:
steps: 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. # 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 - 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 - uses: https://github.com/actions/checkout@v4
with: with:
lfs: false lfs: false