parent
3734c54d8f
commit
940b4385bf
1272 changed files with 398621 additions and 3 deletions
6
.github/actions/check/Dockerfile
vendored
6
.github/actions/check/Dockerfile
vendored
|
|
@ -1,6 +1,12 @@
|
|||
FROM golangci/golangci-lint:v1.12.5
|
||||
|
||||
LABEL "com.github.actions.name"="Check"
|
||||
LABEL "com.github.actions.description"="Run static analysis and unit tests"
|
||||
LABEL "com.github.actions.icon"="check-circle"
|
||||
LABEL "com.github.actions.color"="green"
|
||||
|
||||
COPY "entrypoint.sh" "/entrypoint.sh"
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
ENV GOFLAGS -mod=vendor
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
2
.github/actions/check/entrypoint.sh
vendored
2
.github/actions/check/entrypoint.sh
vendored
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
golangci-lint run
|
||||
go test -cover ./...
|
||||
Loading…
Add table
Add a link
Reference in a new issue