mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: build actionlint from source to avoid the shellcheck deadlock (#27679)
This commit is contained in:
@@ -327,13 +327,13 @@ jobs:
|
||||
- name: Set up mise tools
|
||||
uses: ./.github/actions/setup-mise
|
||||
with:
|
||||
install-args: "go node pnpm helm actionlint aqua:crate-ci/typos"
|
||||
install-args: "go node pnpm helm aqua:crate-ci/typos"
|
||||
|
||||
- name: Install pnpm dependencies
|
||||
uses: ./.github/actions/pnpm-install
|
||||
|
||||
- name: Install Go mise tools
|
||||
run: ./.github/scripts/retry.sh -- mise install --locked go:github.com/golangci/golangci-lint/cmd/golangci-lint go:github.com/coder/paralleltestctx/cmd/paralleltestctx
|
||||
run: ./.github/scripts/retry.sh -- mise install --locked go:github.com/golangci/golangci-lint/cmd/golangci-lint go:github.com/coder/paralleltestctx/cmd/paralleltestctx go:github.com/rhysd/actionlint/cmd/actionlint
|
||||
|
||||
- name: Get golangci-lint cache dir
|
||||
run: |
|
||||
@@ -410,7 +410,10 @@ jobs:
|
||||
- name: Set up mise tools
|
||||
uses: ./.github/actions/setup-mise
|
||||
with:
|
||||
install-args: "actionlint zizmor"
|
||||
install-args: "go zizmor"
|
||||
|
||||
- name: Install Go mise tools
|
||||
run: ./.github/scripts/retry.sh -- mise install --locked go:github.com/rhysd/actionlint/cmd/actionlint
|
||||
|
||||
- name: make lint/actions
|
||||
run: make --output-sync=line -j lint/actions
|
||||
|
||||
Reference in New Issue
Block a user