Skip to content

Revamping GitHub actions setup #3

Revamping GitHub actions setup

Revamping GitHub actions setup #3

Triggered via pull request February 1, 2024 18:22
Status Failure
Total duration 2m 3s
Artifacts

main.yml

on: pull_request
Matrix: builds
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

23 errors and 17 warnings
tests (1.20): parser/evaluator.go#L5
package maps is not in GOROOT (/opt/hostedtoolcache/go/1.20.13/x64/src/maps)
tests (1.20): pkg/utils/string.go#L4
package slices is not in GOROOT (/opt/hostedtoolcache/go/1.20.13/x64/src/slices)
tests (1.20)
Process completed with exit code 1.
markdownlint-cli: docs/_index.md#L9
Multiple top-level headings in the same document [Context: "# What is Fabric?"]
markdownlint-cli: docs/cli.md#L7
Multiple top-level headings in the same document [Context: "# Fabric CLI"]
markdownlint-cli: docs/install.md#L7
Multiple top-level headings in the same document [Context: "# Install"]
markdownlint-cli: docs/language/_index.md#L7
Multiple top-level headings in the same document [Context: "# Overview"]
markdownlint-cli: docs/language/blocks/_index.md#L7
Multiple top-level headings in the same document [Context: "# Overview"]
markdownlint-cli: docs/language/blocks/content.md#L7
Multiple top-level headings in the same document [Context: "# Content blocks"]
markdownlint-cli: docs/language/blocks/content.md#L50
Multiple consecutive blank lines [Expected: 1; Actual: 2]
markdownlint-cli: docs/language/blocks/content.md#L58
Multiple consecutive blank lines [Expected: 1; Actual: 2]
markdownlint-cli: docs/language/blocks/content.md#L77
Fenced code blocks should be surrounded by blank lines [Context: "```"]
markdownlint-cli: docs/language/blocks/data.md#L7
Multiple top-level headings in the same document [Context: "# Data blocks"]
golangci: pkg/diagnostics/printer.go#L28
Error return value of `diagWriter.WriteDiagnostic` is not checked (errcheck)
golangci: main.go#L66
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
golangci: parser/parseSectionBlock.go#L49
cognitive complexity 38 of func `(*DefinedBlocks).parseSection` is high (> 30) (gocognit)
golangci: parser/pluginCaller.go#L147
string `NoConfig` has 4 occurrences, make it a constant (goconst)
golangci: pkg/cirularRefDetector/circularRefs.go#L78
assignOp: replace `diag.Detail = diag.Detail + "\n at <missing location info>"` with `diag.Detail += "\n at <missing location info>"` (gocritic)
golangci: parser/parsePluginBlock.go#L161
ifElseChain: rewrite if-else to switch statement (gocritic)
golangci: parser/pluginCaller.go#L66
ifElseChain: rewrite if-else to switch statement (gocritic)
golangci: pluginInterface/v1/plugin.go#L9
Comment should end in a period (godot)
golangci: parser/definitions/definitions.go#L24
Comment should end in a period (godot)
golangci: parser/parseSectionBlock.go#L138
`if refBase != nil` has complex nested blocks (complexity: 5) (nestif)
tests (1.20)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
markdownlint-cli
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/.
builds (1.21.x, macos-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
builds (1.21.x, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
tests (1.21.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, 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/.
golangci: pkg/cirularRefDetector/circularRefs.go#L1
var-naming: don't use MixedCaps in package name; circularRefDetector should be circularrefdetector (revive)
golangci: pluginInterface/v1/plugin.go#L10
exported: type name will be used as plugin.PluginRPC by other packages, and that stutters; consider calling this RPC (revive)
golangci: parser/definitions/title.go#L47
unused-parameter: parameter 'spec' seems to be unused, consider removing or renaming it as _ (revive)
golangci: parser/definitions/section.go#L41
receiver-naming: receiver name s should be consistent with previous receiver name d for Section (revive)
golangci: parser/definitions/section.go#L45
receiver-naming: receiver name s should be consistent with previous receiver name d for Section (revive)
golangci: parser/definitions/section.go#L52
receiver-naming: receiver name s should be consistent with previous receiver name d for Section (revive)
golangci: parser/pluginCaller.go#L192
unused-parameter: parameter 'name' seems to be unused, consider removing or renaming it as _ (revive)
golangci: parser/pluginCaller.go#L203
unused-parameter: parameter 'name' seems to be unused, consider removing or renaming it as _ (revive)
golangci: parser/evaluator.go#L114
empty-block: this block is empty, you can remove it (revive)
golangci: pkg/cirularRefDetector/circularRefs_test.go#L1
var-naming: don't use MixedCaps in package name; circularRefDetector_test should be circularrefdetector_test (revive)
builds (1.21.x, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.