mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-25 08:31:03 +00:00
another try
This commit is contained in:
parent
a2cdc32340
commit
3f141c5d6b
1 changed files with 3 additions and 4 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
|
@ -137,10 +137,9 @@ jobs:
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{runner.os}}-go-
|
${{runner.os}}-go-
|
||||||
- name: Lint
|
- name: Lint
|
||||||
uses: golangci/golangci-lint-action@v6
|
run: |
|
||||||
with:
|
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.64.8
|
||||||
version: latest
|
golangci-lint run --build-tags=containers_image_openpgp,exclude_graphdriver_btrfs --verbose --out-format=colored-line-number 2>&1 || echo "Exit code: $?"
|
||||||
args: --build-tags=containers_image_openpgp,exclude_graphdriver_btrfs --timeout=10m --verbose
|
|
||||||
- name: Format code
|
- name: Format code
|
||||||
run: |
|
run: |
|
||||||
if [ $(find . -name "*.go" -exec gofmt -s -d {} \;|wc -l) -gt 0 ]; then
|
if [ $(find . -name "*.go" -exec gofmt -s -d {} \;|wc -l) -gt 0 ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue