Skip to content

Commit cebfbef

Browse files
author
shijiashuai
committed
chore: update GitHub Pages workflow and docs
1 parent 8f1d499 commit cebfbef

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
uses: actions/setup-go@v5
2525
with:
2626
go-version: '1.23'
27+
cache: true
2728

2829
- name: Run golangci-lint
2930
uses: golangci/golangci-lint-action@v6
@@ -44,6 +45,7 @@ jobs:
4445
uses: actions/setup-go@v5
4546
with:
4647
go-version: ${{ matrix.go-version }}
48+
cache: true
4749

4850
- name: Verify dependencies
4951
run: go mod verify

.github/workflows/pages.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ jobs:
2525
steps:
2626
- name: Checkout
2727
uses: actions/checkout@v4
28+
with:
29+
sparse-checkout-cone-mode: false
30+
sparse-checkout: |
31+
*.md
32+
_config.yml
33+
docs
34+
changelog
35+
LICENSE
2836
2937
- name: Setup Pages
3038
uses: actions/configure-pages@v5

0 commit comments

Comments
 (0)