Skip to content

Commit 2cb7884

Browse files
committed
fixup! improve lint
1 parent 0b26856 commit 2cb7884

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ jobs:
9393
echo "${{ toJSON(steps.filter )}}"
9494
9595
lint:
96-
# golangci-lint is heavily parallelizable.
97-
runs-on: ${{ github.repository_owner == 'coder' && 'buildjet-32vcpu-ubuntu-2204' || 'ubuntu-latest' }}
96+
runs-on: ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu-ubuntu-2204' || 'ubuntu-latest' }}
9897
steps:
9998
- name: Checkout
10099
uses: actions/checkout@v3
@@ -116,7 +115,6 @@ jobs:
116115
cargo install typos-cli
117116
typos -c .github/workflows/typos.toml -w"
118117
119-
120118
# Needed for helm chart linting
121119
- name: Install helm
122120
uses: azure/setup-helm@v3
@@ -125,7 +123,7 @@ jobs:
125123

126124
- name: make lint
127125
run: |
128-
make --output-sync -j lint
126+
make --output-sync=line -j lint
129127
130128
gen:
131129
timeout-minutes: 8

Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ else
402402
endif
403403
.PHONY: fmt/shfmt
404404

405-
lint: lint/shellcheck lint/go lint/ts lint/helm lint/agpl
405+
lint: lint/shellcheck lint/go lint/ts lint/helm
406406
.PHONY: lint
407407

408408
lint/ts:
@@ -427,10 +427,6 @@ lint/helm:
427427
make lint
428428
.PHONY: lint/helm
429429

430-
lint/agpl:
431-
./scripts/check_enterprise_imports.sh
432-
.PHONY: lint/agpl
433-
434430
# all gen targets should be added here and to gen/mark-fresh
435431
gen: \
436432
coderd/database/dump.sql \

0 commit comments

Comments
 (0)