mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2025-12-12 22:11:15 +00:00
add entrypoint
This commit is contained in:
parent
6eb54d49f7
commit
4787970861
2 changed files with 6 additions and 1 deletions
|
|
@ -1 +1,5 @@
|
|||
FROM golangci/golangci-lint:v1.25
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
golangci-lint run --out-format github-actions
|
||||
# shellcheck disable=SC2086
|
||||
golangci-lint run --out-format github-actions ${FLAGS}
|
||||
|
|
|
|||
Loading…
Reference in a new issue