Skip to content

fix: lint

fix: lint #6

Re-run triggered July 9, 2024 20:40
Status Failure
Total duration 1m 33s
Artifacts

test.yml

on: push
Matrix: test-go-install
Matrix: test-go-mod-version
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 13 warnings
test-go-mod-version (ubuntu-latest)
Failed to run: Error: Command failed: cd gno && git checkout v1.51.2 error: pathspec 'v1.51.2' did not match any file(s) known to git , Error: Command failed: cd gno && git checkout v1.51.2 error: pathspec 'v1.51.2' did not match any file(s) known to git at genericNodeError (node:internal/errors:984:15) at wrappedFn (node:internal/errors:538:14) at ChildProcess.exithandler (node:child_process:422:12) at ChildProcess.emit (node:events:519:28) at maybeClose (node:internal/child_process:1105:16) at ChildProcess._handle.onexit (node:internal/child_process:305:5)
test-go-mod-version (ubuntu-latest)
Command failed: cd gno && git checkout v1.51.2 error: pathspec 'v1.51.2' did not match any file(s) known to git
test-go-mod-version (macos-latest)
The job was canceled because "ubuntu-latest" failed.
test-go-mod-version (macos-latest)
Failed to run: Error: Command failed: cd gno && git checkout v1.51.2 error: pathspec 'v1.51.2' did not match any file(s) known to git , Error: Command failed: cd gno && git checkout v1.51.2 error: pathspec 'v1.51.2' did not match any file(s) known to git at genericNodeError (node:internal/errors:984:15) at wrappedFn (node:internal/errors:538:14) at ChildProcess.exithandler (node:child_process:422:12) at ChildProcess.emit (node:events:519:28) at maybeClose (node:internal/child_process:1105:16) at Socket.<anonymous> (node:internal/child_process:457:11) at Socket.emit (node:events:519:28) at Pipe.<anonymous> (node:net:338:12)
test-go-mod-version (macos-latest)
Command failed: cd gno && git checkout v1.51.2 error: pathspec 'v1.51.2' did not match any file(s) known to git
test (ubuntu-latest, 40a4e3060f953123541bbfeac5b8aa9e18f117d0)
Failed to run: Error: invalid version string '40a4e3060f953123541bbfeac5b8aa9e18f117d0', expected format v1.2 or v1.2.3, Error: invalid version string '40a4e3060f953123541bbfeac5b8aa9e18f117d0', expected format v1.2 or v1.2.3 at parseVersion (/home/runner/work/gno-lint-action/gno-lint-action/dist/run/index.js:67373:15) at getRequestedLintVersion (/home/runner/work/gno-lint-action/gno-lint-action/dist/run/index.js:67422:40) at findLintVersion (/home/runner/work/gno-lint-action/gno-lint-action/dist/run/index.js:67455:28) at prepareLint (/home/runner/work/gno-lint-action/gno-lint-action/dist/run/index.js:66949:63) at prepareEnv (/home/runner/work/gno-lint-action/gno-lint-action/dist/run/index.js:67049:28)
test (ubuntu-latest, 40a4e3060f953123541bbfeac5b8aa9e18f117d0)
invalid version string '40a4e3060f953123541bbfeac5b8aa9e18f117d0', expected format v1.2 or v1.2.3
test (macos-latest, 40a4e3060f953123541bbfeac5b8aa9e18f117d0)
The job was canceled because "ubuntu-latest_40a4e3060f9" failed.
test (macos-latest, 40a4e3060f953123541bbfeac5b8aa9e18f117d0)
Failed to run: Error: invalid version string '40a4e3060f953123541bbfeac5b8aa9e18f117d0', expected format v1.2 or v1.2.3, Error: invalid version string '40a4e3060f953123541bbfeac5b8aa9e18f117d0', expected format v1.2 or v1.2.3 at parseVersion (/Users/runner/work/gno-lint-action/gno-lint-action/dist/run/index.js:67373:15) at getRequestedLintVersion (/Users/runner/work/gno-lint-action/gno-lint-action/dist/run/index.js:67422:40) at findLintVersion (/Users/runner/work/gno-lint-action/gno-lint-action/dist/run/index.js:67455:28) at prepareLint (/Users/runner/work/gno-lint-action/gno-lint-action/dist/run/index.js:66949:63) at prepareEnv (/Users/runner/work/gno-lint-action/gno-lint-action/dist/run/index.js:67049:28)
test (macos-latest, 40a4e3060f953123541bbfeac5b8aa9e18f117d0)
invalid version string '40a4e3060f953123541bbfeac5b8aa9e18f117d0', expected format v1.2 or v1.2.3
test-go-mod-version (windows-latest)
The job was canceled because "ubuntu-latest" failed.
test-go-mod-version (windows-latest)
The operation was canceled.
test (windows-latest, 40a4e3060f953123541bbfeac5b8aa9e18f117d0)
The job was canceled because "ubuntu-latest_40a4e3060f9" failed.
test (windows-latest, 40a4e3060f953123541bbfeac5b8aa9e18f117d0)
The operation was canceled.
test-go-install (macos-latest, 40a4e3060f953123541bbfeac5b8aa9e18f117d0)
Failed to run: Error: Command failed: go install github.com/golangci/golangci-lint/cmd/golangci-lint@40a4e3060f953123541bbfeac5b8aa9e18f117d0 go: github.com/golangci/golangci-lint/cmd/golangci-lint@40a4e3060f953123541bbfeac5b8aa9e18f117d0: github.com/golangci/golangci-lint/cmd/golangci-lint@40a4e3060f953123541bbfeac5b8aa9e18f117d0: invalid version: unknown revision 40a4e3060f953123541bbfeac5b8aa9e18f117d0 , Error: Command failed: go install github.com/golangci/golangci-lint/cmd/golangci-lint@40a4e3060f953123541bbfeac5b8aa9e18f117d0 go: github.com/golangci/golangci-lint/cmd/golangci-lint@40a4e3060f953123541bbfeac5b8aa9e18f117d0: github.com/golangci/golangci-lint/cmd/golangci-lint@40a4e3060f953123541bbfeac5b8aa9e18f117d0: invalid version: unknown revision 40a4e3060f953123541bbfeac5b8aa9e18f117d0 at genericNodeError (node:internal/errors:984:15) at wrappedFn (node:internal/errors:538:14) at ChildProcess.exithandler (node:child_process:422:12) at ChildProcess.emit (node:events:519:28) at maybeClose (node:internal/child_process:1105:16) at Socket.<anonymous> (node:internal/child_process:457:11) at Socket.emit (node:events:519:28) at Pipe.<anonymous> (node:net:338:12)
test-go-install (macos-latest, 40a4e3060f953123541bbfeac5b8aa9e18f117d0)
Command failed: go install github.com/golangci/golangci-lint/cmd/golangci-lint@40a4e3060f953123541bbfeac5b8aa9e18f117d0 go: github.com/golangci/golangci-lint/cmd/golangci-lint@40a4e3060f953123541bbfeac5b8aa9e18f117d0: github.com/golangci/golangci-lint/cmd/golangci-lint@40a4e3060f953123541bbfeac5b8aa9e18f117d0: invalid version: unknown revision 40a4e3060f953123541bbfeac5b8aa9e18f117d0
test-go-install (ubuntu-latest, 40a4e3060f953123541bbfeac5b8aa9e18f117d0)
The job was canceled because "macos-latest_40a4e3060f95" failed.
test-go-install (ubuntu-latest, 40a4e3060f953123541bbfeac5b8aa9e18f117d0)
Failed to run: Error: Command failed: go install github.com/golangci/golangci-lint/cmd/golangci-lint@40a4e3060f953123541bbfeac5b8aa9e18f117d0 go: github.com/golangci/golangci-lint/cmd/golangci-lint@40a4e3060f953123541bbfeac5b8aa9e18f117d0: github.com/golangci/golangci-lint/cmd/golangci-lint@40a4e3060f953123541bbfeac5b8aa9e18f117d0: invalid version: unknown revision 40a4e3060f953123541bbfeac5b8aa9e18f117d0 , Error: Command failed: go install github.com/golangci/golangci-lint/cmd/golangci-lint@40a4e3060f953123541bbfeac5b8aa9e18f117d0 go: github.com/golangci/golangci-lint/cmd/golangci-lint@40a4e3060f953123541bbfeac5b8aa9e18f117d0: github.com/golangci/golangci-lint/cmd/golangci-lint@40a4e3060f953123541bbfeac5b8aa9e18f117d0: invalid version: unknown revision 40a4e3060f953123541bbfeac5b8aa9e18f117d0 at genericNodeError (node:internal/errors:984:15) at wrappedFn (node:internal/errors:538:14) at ChildProcess.exithandler (node:child_process:422:12) at ChildProcess.emit (node:events:519:28) at maybeClose (node:internal/child_process:1105:16) at ChildProcess._handle.onexit (node:internal/child_process:305:5)
test-go-install (ubuntu-latest, 40a4e3060f953123541bbfeac5b8aa9e18f117d0)
Command failed: go install github.com/golangci/golangci-lint/cmd/golangci-lint@40a4e3060f953123541bbfeac5b8aa9e18f117d0 go: github.com/golangci/golangci-lint/cmd/golangci-lint@40a4e3060f953123541bbfeac5b8aa9e18f117d0: github.com/golangci/golangci-lint/cmd/golangci-lint@40a4e3060f953123541bbfeac5b8aa9e18f117d0: invalid version: unknown revision 40a4e3060f953123541bbfeac5b8aa9e18f117d0
test-go-install (windows-latest, 40a4e3060f953123541bbfeac5b8aa9e18f117d0)
The job was canceled because "macos-latest_40a4e3060f95" failed.
test-go-mod-version (ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gno-lint-action/gno-lint-action. Supported file pattern: go.sum
test-go-mod-version (macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/gno-lint-action/gno-lint-action. Supported file pattern: go.sum
test (ubuntu-latest, 40a4e3060f953123541bbfeac5b8aa9e18f117d0)
Restore cache failed: Dependencies file is not found in /home/runner/work/gno-lint-action/gno-lint-action. Supported file pattern: go.sum
test (macos-latest, 40a4e3060f953123541bbfeac5b8aa9e18f117d0)
Restore cache failed: Dependencies file is not found in /Users/runner/work/gno-lint-action/gno-lint-action. Supported file pattern: go.sum
test-go-install (macos-latest, 40a4e3060f953123541bbfeac5b8aa9e18f117d0)
Restore cache failed: Dependencies file is not found in /Users/runner/work/gno-lint-action/gno-lint-action. Supported file pattern: go.sum
test-go-install (macos-latest, 40a4e3060f953123541bbfeac5b8aa9e18f117d0)
Unexpected input(s) 'install-mode', valid inputs are ['version', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
test-go-install (macos-latest, 40a4e3060f953123541bbfeac5b8aa9e18f117d0)
Unexpected input(s) 'install-mode', valid inputs are ['version', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
test-go-install (ubuntu-latest, 40a4e3060f953123541bbfeac5b8aa9e18f117d0)
Unexpected input(s) 'install-mode', valid inputs are ['version', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
test-go-install (ubuntu-latest, 40a4e3060f953123541bbfeac5b8aa9e18f117d0)
Unexpected input(s) 'install-mode', valid inputs are ['version', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
test-go-install (ubuntu-latest, 40a4e3060f953123541bbfeac5b8aa9e18f117d0)
Restore cache failed: Dependencies file is not found in /home/runner/work/gno-lint-action/gno-lint-action. Supported file pattern: go.sum
test-go-install (windows-latest, 40a4e3060f953123541bbfeac5b8aa9e18f117d0)
Unexpected input(s) 'install-mode', valid inputs are ['version', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
test-go-install (windows-latest, 40a4e3060f953123541bbfeac5b8aa9e18f117d0)
Unexpected input(s) 'install-mode', valid inputs are ['version', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
test-go-install (windows-latest, 40a4e3060f953123541bbfeac5b8aa9e18f117d0)
Restore cache failed: Dependencies file is not found in D:\a\gno-lint-action\gno-lint-action. Supported file pattern: go.sum