We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aeee056 commit ffefba2Copy full SHA for ffefba2
ci/lint.sh
@@ -1,16 +1,14 @@
1
-#!/usr/bin/env bash
2
-set -euo pipefail
+#!/bin/sh
+set -eu
3
+cd -- "$(dirname "$0")/.."
4
-main() {
5
- cd "$(dirname "$0")/.."
+go vet ./...
6
+GOOS=js GOARCH=wasm go vet ./...
7
- go vet ./...
8
- GOOS=js GOARCH=wasm go vet ./...
+go install golang.org/x/lint/golint@latest
9
+golint -set_exit_status ./...
10
+GOOS=js GOARCH=wasm golint -set_exit_status ./...
11
- golint -set_exit_status ./...
- GOOS=js GOARCH=wasm golint -set_exit_status ./...
12
-
13
- shellcheck --exclude=SC2046 $(git ls-files "*.sh")
14
-}
15
16
-main "$@"
+go install honnef.co/go/tools/cmd/staticcheck@latest
+staticcheck ./...
+GOOS=js GOARCH=wasm staticcheck ./...
0 commit comments