Skip to content

Commit f8df5c9

Browse files
committed
Simplify lint
1 parent de837ce commit f8df5c9

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,14 @@ jobs:
100100

101101
- uses: ./.github/actions/setup-go
102102

103+
- uses: ./.github/actions/setup-node
104+
103105
# Check for any typos!
104106
- name: Check for typos
105107
uses: crate-ci/typos@v1.14.12
106108
with:
107109
config: .github/workflows/typos.toml
110+
108111
- name: Fix the typos
109112
if: ${{ failure() }}
110113
run: |
@@ -113,28 +116,20 @@ jobs:
113116
typos -c .github/workflows/typos.toml -w"
114117
115118
# Check for Go linting errors!
116-
- name: Lint Go
117-
uses: golangci/golangci-lint-action@v3.5.0
118-
with:
119-
version: v1.52.2
119+
- name: install golangci-lint
120+
run: go install github.com/golangci/golangci-lint@v1.53.2
120121

121-
- name: Lint shell scripts
122-
uses: ludeeus/action-shellcheck@2.0.0
123-
env:
124-
SHELLCHECK_OPTS: --external-sources
125-
with:
126-
ignore: node_modules
122+
- name: make lint
123+
run: |
124+
make --output-sync -j lint
127125
128-
- uses: ./.github/actions/setup-node
129-
- name: Lint TypeScript
130-
run: yarn lint
131-
working-directory: site
132126
133127
# Make sure the Helm chart is linted!
134128
- name: Install helm
135129
uses: azure/setup-helm@v3
136130
with:
137131
version: v3.9.2
132+
138133
- name: Lint Helm chart
139134
run: |
140135
cd helm

0 commit comments

Comments
 (0)