Skip to content

Merge pull request #3 from stp-ekioh/main #32

Merge pull request #3 from stp-ekioh/main

Merge pull request #3 from stp-ekioh/main #32

Triggered via push July 9, 2024 04:54
Status Failure
Total duration 2m 51s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
build: element.go#L77
File is not `gofmt`-ed with `-s` (gofmt)
build: session.go#L303
File is not `gofmt`-ed with `-s` (gofmt)
build: shadowroot.go#L48
File is not `gofmt`-ed with `-s` (gofmt)
build: bidi/websocket.go#L8
import 'nhooyr.io/websocket' is not allowed from list 'Main' (depguard)
build: session.go#L9
import 'github.com/hupe1980/gowebdriver/bidi' is not allowed from list 'Main' (depguard)
build: webdriver.go#L9
import 'github.com/hupe1980/gowebdriver/bidi' is not allowed from list 'Main' (depguard)
build: capabilities_test.go#L6
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
build: bidi/log.go#L73
return statements should not be cuddled if block has more than two lines (wsl)
build: bidi/log.go#L81
return statements should not be cuddled if block has more than two lines (wsl)
build: bidi/log.go#L89
return statements should not be cuddled if block has more than two lines (wsl)
build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3, 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/
build
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
build: bidi/client.go#L176
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (revive)
build
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']