Skip to content

Commit 663ff2b

Browse files
committed
chore(ci): set up git lfs
1 parent 1defa5c commit 663ff2b

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

.github/workflows/rc.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,17 @@ jobs:
1212
- uses: actions/checkout@v5
1313
with:
1414
fetch-depth: 0
15+
lfs: true
1516

1617
- uses: actions/setup-go@v5
1718
with:
1819
go-version-file: go.mod
1920

21+
- name: Fetch and checkout LFS objects
22+
run: |
23+
git lfs fetch --all
24+
git lfs checkout
25+
2026
- name: Create release
2127
uses: goreleaser/goreleaser-action@v6
2228
with:

.github/workflows/release.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,17 @@ jobs:
1212
- uses: actions/checkout@v5
1313
with:
1414
fetch-depth: 0
15+
lfs: true
1516

1617
- uses: actions/setup-go@v5
1718
with:
1819
go-version-file: go.mod
1920

21+
- name: Fetch and checkout LFS objects
22+
run: |
23+
git lfs fetch --all
24+
git lfs checkout
25+
2026
- name: Create release
2127
uses: goreleaser/goreleaser-action@v6
2228
with:

.github/workflows/test.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ jobs:
1717
steps:
1818
- name: Checkout
1919
uses: actions/checkout@v4
20+
with:
21+
fetch-depth: 0
22+
lfs: true
23+
24+
- name: Fetch and checkout LFS objects
25+
run: |
26+
git lfs fetch --all
27+
git lfs checkout
2028
2129
- name: Set up Go
2230
uses: actions/setup-go@v5

0 commit comments

Comments
 (0)