Skip to content

Implement encode/decode 1inch extension #279

Implement encode/decode 1inch extension

Implement encode/decode 1inch extension #279

Triggered via pull request August 14, 2024 04:39
Status Failure
Total duration 1m 19s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
Run golangci-lint: pkg/oneinch/fusionorder/extension.go#L15
File is not `gofumpt`-ed (gofumpt)
Run golangci-lint: pkg/oneinch/fusionorder/extension.go#L105
line is 124 characters (lll)
Run golangci-lint: pkg/oneinch/fusionorder/extension.go#L83
Consider pre-allocating `lengthMap` (prealloc)
Run golangci-lint: pkg/oneinch/fusionorder/extension.go#L16
defaultExtension is a global variable (gochecknoglobals)
Run golangci-lint: pkg/oneinch/fusionorder/extension.go#L85
mnd: Magic number: 2, in <argument> detected (gomnd)
Run golangci-lint: pkg/oneinch/fusionorder/extension.go#L95
mnd: Magic number: 32, in <argument> detected (gomnd)
Run golangci-lint: pkg/oneinch/fusionorder/extension.go#L113
mnd: Magic number: 16, in <argument> detected (gomnd)
Run golangci-lint: pkg/oneinch/fusionorder/extension.go#L127
mnd: Magic number: 32, in <argument> detected (gomnd)
Run golangci-lint: pkg/oneinch/fusionorder/extension.go#L133
mnd: Magic number: 2, in <operation> detected (gomnd)
Run golangci-lint: pkg/oneinch/fusionorder/extension.go#L134
mnd: Magic number: 2, in <operation> detected (gomnd)
prepare
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
prepare
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run golangci-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run golangci-lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/