ci(workspace): remove sudo as runner executes as root
This commit is contained in:
parent
76571abe4b
commit
a34fdf0089
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue