mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #650] [MERGED] Add super-linter + fix lint issues #1537
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#1537
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/nektos/act/pull/650
Author: @catthehacker
Created: 5/1/2021
Status: ✅ Merged
Merged: 5/3/2021
Merged by: @cplee
Base:
master← Head:golangci-lint📝 Commits (8)
5203bbdfeat: bumpgolangci-lint, addsuper-linter, replace outdated linter36a6f00fix: lint/fixgofiles652d0d9fix: lint withstandardjscf420f8fix: lint/fix withmarkdownlint, make template more verbose62964cbfeat: add lint stuff to makefile07e9692Merge branch 'master' into golangci-lint943bfd7fix:UseGitIgnoreformattingb5a871bfix: lint/fixREADME.md📊 Changes
24 files changed (+141 additions, -69 deletions)
View changed files
📝
.github/ISSUE_TEMPLATE/issue_template.md(+27 -15)➕
.github/linters/.golangci.yml(+1 -0)➕
.github/linters/.markdown-lint.yml(+11 -0)📝
.github/workflows/push.yml(+15 -1)📝
.golangci.yml(+15 -12)➕
.vscode/settings.json(+6 -0)📝
CONTRIBUTING.md(+1 -1)📝
Makefile(+46 -1)📝
README.md(+7 -6)📝
cmd/graph.go(+0 -1)📝
pkg/common/file.go(+0 -4)📝
pkg/common/git.go(+0 -1)📝
pkg/common/git_test.go(+0 -1)📝
pkg/container/docker_build.go(+0 -1)📝
pkg/container/docker_pull.go(+0 -2)📝
pkg/container/docker_run.go(+0 -1)📝
pkg/model/workflow.go(+6 -10)📝
pkg/runner/expression_test.go(+0 -2)📝
pkg/runner/logger.go(+0 -1)📝
pkg/runner/res/trampoline.js(+5 -5)...and 4 more files
📄 Description
Add
super-linterto lint other languages.Go linter is disabled because it's currently broken:
https://github.com/github/super-linter/pull/370
Replacing
scopelintwithexportloopref: "[runner] The linter'scopelint' is deprecated (since v1.39.0) due to: The repository of the
linter has been deprecated by the owner. Replaced by exportloopref."
Fixed formatting in
.golangci.ymlAdd addtional linters:
misspell: purely style, detects typos in commentswhitespace: detects leading and trailing whitespacegoimports: it's gofmt + checks unused imports🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.