another try

This commit is contained in:
christophe-duc 2026-01-08 19:49:23 -04:00
parent a2cdc32340
commit 3f141c5d6b

View file

@ -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