Skip to content

Commit f4f1972

Browse files
committed
fix: fix node tools install
Signed-off-by: yuluo-yx <[email protected]>
1 parent ee80abd commit f4f1972

File tree

5 files changed

+11
-15
lines changed

5 files changed

+11
-15
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
pull-requests: write
3939
runs-on: ubuntu-22.04
4040
steps:
41-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
41+
- uses: actions/[email protected]
4242
- uses: ./tools/github-actions/setup-deps
4343
- name: API Test
4444
env:
@@ -65,7 +65,7 @@ jobs:
6565
Build:
6666
runs-on: ubuntu-22.04
6767
steps:
68-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
68+
- uses: actions/[email protected]
6969
- uses: ./tools/github-actions/setup-deps
7070
- name: Run GoReleaser
7171
uses: goreleaser/goreleaser-action@v6
@@ -80,7 +80,7 @@ jobs:
8080
E2E:
8181
runs-on: ubuntu-22.04
8282
steps:
83-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
83+
- uses: actions/[email protected]
8484
- uses: ./tools/github-actions/setup-deps
8585
- name: Set output
8686
id: vars

.github/workflows/check.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
files-lint:
1616
runs-on: ubuntu-22.04
1717
steps:
18-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
18+
- uses: actions/[email protected].6
1919
- uses: ./tools/github-actions/setup-deps
2020
- name: Setup Node
21-
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.1.0
21+
uses: actions/setup-node@v4
2222
with:
2323
node-version: "21"
2424

.github/workflows/docs.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,21 @@ jobs:
2020
contents: write
2121
steps:
2222
- name: Git checkout
23-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
23+
uses: actions/[email protected]
2424
with:
2525
submodules: true
2626
ref: ${{ github.event.pull_request.head.sha }}
2727

2828
- uses: ./tools/github-actions/setup-deps
2929

3030
- name: Setup Hugo
31-
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
31+
uses: peaceiris/[email protected]
3232
with:
3333
hugo-version: "latest"
3434
extended: true
3535

3636
- name: Setup Node
37-
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.1.0
37+
uses: actions/[email protected]
3838
with:
3939
node-version: "18"
4040

@@ -48,7 +48,7 @@ jobs:
4848
4949
# Upload docs for GitHub Pages
5050
- name: Upload GitHub Pages artifact
51-
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
51+
uses: actions/[email protected]
5252
with:
5353
# Path of the directory containing the static assets.
5454
path: docs/site/public
@@ -75,4 +75,4 @@ jobs:
7575
steps:
7676
- name: Deploy to GitHub Pages
7777
id: deployment
78-
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
78+
uses: actions/[email protected]

tools/make/lint.mk

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
##@ Lint
66

7-
GITHUB_ACTION ?=
8-
97
.PHONY: lint
108
lint: ## Run all linter of code sources, including golint, yamllint.
119

@@ -14,8 +12,6 @@ lint: ## Run all linter of code sources, including golint, yamllint.
1412
.PHONY: lint-deps
1513
lint-deps: ## Everything necessary to lint
1614

17-
GOLANGCI_LINT_FLAGS ?= $(if $(GITHUB_ACTION),--out-format=github-actions)
18-
1915
.PHONY: lint.golint
2016
lint: lint.golint
2117
lint-deps: $(tools/golangci-lint)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"dependencies": {
3-
"markdownlint": "^0.37.3"
3+
"markdownlint-cli": "^0.44.0"
44
}
55
}

0 commit comments

Comments
 (0)