Skip to content

Commit ffefba2

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! ci: Fixes
1 parent aeee056 commit ffefba2

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

ci/lint.sh

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
#!/usr/bin/env bash
2-
set -euo pipefail
1+
#!/bin/sh
2+
set -eu
3+
cd -- "$(dirname "$0")/.."
34

4-
main() {
5-
cd "$(dirname "$0")/.."
5+
go vet ./...
6+
GOOS=js GOARCH=wasm go vet ./...
67

7-
go vet ./...
8-
GOOS=js GOARCH=wasm go vet ./...
8+
go install golang.org/x/lint/golint@latest
9+
golint -set_exit_status ./...
10+
GOOS=js GOARCH=wasm golint -set_exit_status ./...
911

10-
golint -set_exit_status ./...
11-
GOOS=js GOARCH=wasm golint -set_exit_status ./...
12-
13-
shellcheck --exclude=SC2046 $(git ls-files "*.sh")
14-
}
15-
16-
main "$@"
12+
go install honnef.co/go/tools/cmd/staticcheck@latest
13+
staticcheck ./...
14+
GOOS=js GOARCH=wasm staticcheck ./...

0 commit comments

Comments
 (0)