Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions internal/ghworkflow/workflow_checks.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ func checksWorkflow(cfg core.Configuration) {

if cfg.ShellCheck.Enabled.UnwrapOr(true) {
// delete the pretty out of date installed version of shellcheck so that make install-shellcheck installs the current version
j.addStep(jobStep{
Name: "Delete pre-installed shellcheck",
Run: "sudo rm -f $(which shellcheck)",
})
if !ghwCfg.IsSelfHostedRunner {
j.addStep(jobStep{
Name: "Delete pre-installed shellcheck",
Run: "sudo rm -f $(which shellcheck)",
})
}
j.addStep(jobStep{
Name: "Run shellcheck",
Run: "make run-shellcheck",
Expand Down
Loading