ci(workspace): pre-install git-lfs before checkout
This commit is contained in:
parent
18a2644c44
commit
76571abe4b
|
|
@ -14,6 +14,8 @@ jobs:
|
|||
name: Rust Check & Lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install git-lfs
|
||||
run: sudo apt-get update && sudo apt-get install -y git-lfs
|
||||
- uses: https://github.com/actions/checkout@v4
|
||||
with:
|
||||
lfs: true
|
||||
|
|
@ -39,6 +41,8 @@ jobs:
|
|||
name: Rust Tests
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install git-lfs
|
||||
run: sudo apt-get update && sudo apt-get install -y git-lfs
|
||||
- uses: https://github.com/actions/checkout@v4
|
||||
with:
|
||||
lfs: true
|
||||
|
|
@ -59,6 +63,8 @@ jobs:
|
|||
name: Lua Lint & Format
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install git-lfs
|
||||
run: sudo apt-get update && sudo apt-get install -y git-lfs
|
||||
- uses: https://github.com/actions/checkout@v4
|
||||
|
||||
- name: Check Lua Formatting
|
||||
|
|
@ -76,6 +82,8 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
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
|
||||
- uses: https://github.com/actions/checkout@v4
|
||||
with:
|
||||
lfs: false
|
||||
|
|
|
|||
Loading…
Reference in a new issue