Use the go version from go.mod by default #36
ci.yml
on: pull_request
e2e
/
...
/
test
10s
e2e
/
...
/
lint
5s
e2e
/
...
/
build
6s
e2e
/
...
/
test
3s
e2e
/
...
/
lint
4s
e2e
/
...
/
build
4s
e2e
/
...
/
build
5s
e2e
/
...
/
build
4s
e2e
/
...
/
lint
21s
e2e
/
...
/
lint
11s
e2e
/
...
/
lint
6s
e2e
/
...
/
test
16s
e2e
/
...
/
test
6s
can_see_status
2s
Annotations
14 errors and 3 warnings
e2e / version_lints / lint
The specified go version file at: tests/test-version-mismatch-failure/go.mod does not exist
|
e2e / version_tests / test
The specified go version file at: tests/test-version-mismatch-failure/go.mod does not exist
|
e2e / build_failure / build / build
Process completed with exit code 1.
|
e2e / build_version_mismatch_failure / build / build
An error occurred trying to start process '/usr/bin/bash' with working directory '/home/runner/work/ci-baseline-go/ci-baseline-go/tests/test-version-mismatch-failure'. No such file or directory
|
e2e / test_version_mismatch_failure / tests / test
An error occurred trying to start process '/usr/bin/bash' with working directory '/home/runner/work/ci-baseline-go/ci-baseline-go/tests/test-version-mismatch-failure'. No such file or directory
|
e2e / version_build / build
The specified go version file at: tests/test-version-mismatch-failure/go.mod does not exist
|
e2e / lint_version_mismatch_failure / lints / lint
Failed to run: Error: working-directory (tests/test-version-mismatch-failure) was not a path, Error: working-directory (tests/test-version-mismatch-failure) was not a path
at runLint (/home/runner/work/_actions/golangci/golangci-lint-action/v3/dist/run/index.js:66817:19)
at /home/runner/work/_actions/golangci/golangci-lint-action/v3/dist/run/index.js:66849:53
at Object.<anonymous> (/home/runner/work/_actions/golangci/golangci-lint-action/v3/dist/run/index.js:2057:28)
at Generator.next (<anonymous>)
at /home/runner/work/_actions/golangci/golangci-lint-action/v3/dist/run/index.js:1808:71
at new Promise (<anonymous>)
at __webpack_modules__.2186.__awaiter (/home/runner/work/_actions/golangci/golangci-lint-action/v3/dist/run/index.js:1804:12)
at Object.group (/home/runner/work/_actions/golangci/golangci-lint-action/v3/dist/run/index.js:2053:12)
at run (/home/runner/work/_actions/golangci/golangci-lint-action/v3/dist/run/index.js:66849:20)
at runMicrotasks (<anonymous>)
|
e2e / lint_version_mismatch_failure / lints / lint
working-directory (tests/test-version-mismatch-failure) was not a path
|
e2e / lint_failure / lints / lint:
tests/lint-failure/main.go#L9
G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
|
e2e / lint_failure / lints / lint
issues found
|
e2e / test_failure / tests / test
Process completed with exit code 1.
|
e2e / fmt_failure / lints / lint:
tests/fmt-failure/main.go#L4
File is not `goimports`-ed (goimports)
|
e2e / fmt_failure / lints / lint
issues found
|
can_enqueue
Process completed with exit code 1.
|
e2e / build_version_mismatch_failure / build / build
Both go-version and go-version-file inputs are specified, only go-version will be used
|
e2e / test_version_mismatch_failure / tests / test
Both go-version and go-version-file inputs are specified, only go-version will be used
|
e2e / lint_version_mismatch_failure / lints / lint
Both go-version and go-version-file inputs are specified, only go-version will be used
|