Skip to content

smartcontract: fix go version mismatch in TestContractInitAndCompile #629

smartcontract: fix go version mismatch in TestContractInitAndCompile

smartcontract: fix go version mismatch in TestContractInitAndCompile #629

Triggered via pull request February 15, 2024 17:41
Status Failure
Total duration 4m 15s
Artifacts

tests.yml

on: pull_request
Lint
20s
Lint
Check internal dependencies
6s
Check internal dependencies
Coverage
1m 27s
Coverage
Matrix: CodeQL
Matrix: Run tests
Fit to window
Zoom out
Zoom in

Annotations

55 errors and 10 warnings
Lint: cli/app/app.go#L10
could not import github.com/nspcc-dev/neo-go/cli/smartcontract (-: # github.com/nspcc-dev/neo-go/cli/smartcontract
Lint: cli/smartcontract/smart_contract.go#L362
undefined: yaml
Lint: cli/smartcontract/smart_contract.go#L803
undefined: yaml) (typecheck)
Lint: internal/testchain/transaction.go#L9
could not import github.com/nspcc-dev/neo-go/cli/smartcontract (-: # github.com/nspcc-dev/neo-go/cli/smartcontract
Lint: cli/smartcontract/smart_contract.go#L362
undefined: yaml
Lint: cli/smartcontract/smart_contract.go#L803
undefined: yaml) (typecheck)
Lint: cli/smartcontract/generate.go#L1
: # github.com/nspcc-dev/neo-go/cli/smartcontract [github.com/nspcc-dev/neo-go/cli/smartcontract.test]
Lint: cli/smartcontract/smart_contract.go#L362
undefined: yaml
Lint: cli/smartcontract/smart_contract.go#L803
undefined: yaml (typecheck)
Lint: cli/smartcontract/contract_test.go#L14
could not import github.com/nspcc-dev/neo-go/cli/smartcontract (-: # github.com/nspcc-dev/neo-go/cli/smartcontract [github.com/nspcc-dev/neo-go/cli/smartcontract.test]
Run tests (ubuntu-20.04, 1.19)
Process completed with exit code 1.
Run tests (ubuntu-20.04, 1.20)
Process completed with exit code 1.
Coverage: cli/smartcontract/smart_contract.go#L362
undefined: yaml
Coverage: cli/smartcontract/smart_contract.go#L803
undefined: yaml
Coverage: cli/smartcontract/smart_contract.go#L362
undefined: yaml
Coverage: cli/smartcontract/smart_contract.go#L803
undefined: yaml
Coverage: cli/smartcontract/smart_contract.go#L362
undefined: yaml
Coverage: cli/smartcontract/smart_contract.go#L803
undefined: yaml
Coverage: cli/smartcontract/smart_contract.go#L362
undefined: yaml
Coverage: cli/smartcontract/smart_contract.go#L803
undefined: yaml
Coverage
Process completed with exit code 1.
Run tests (macos-12, 1.21)
Process completed with exit code 1.
Run tests (windows-2022, 1.21)
Process completed with exit code 1.
Check internal dependencies
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/neo-go/neo-go. Supported file pattern: go.sum
Run tests (ubuntu-20.04, 1.19)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run tests (ubuntu-20.04, 1.20)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Coverage
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run tests (macos-12, 1.21)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
CodeQL (go)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, github/codeql-action/init@v2, github/codeql-action/autobuild@v2, github/codeql-action/analyze@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
CodeQL (go)
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
Run tests (windows-2022, 1.21)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.