Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
- uses: actions/checkout@v4
- run: go version
- uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
- run: ./ci/lint.sh

test:
Expand All @@ -42,7 +44,7 @@ jobs:
with:
go-version-file: ./go.mod
- run: ./ci/test.sh
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: coverage.html
path: ./ci/out/coverage.html
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
with:
go-version-file: ./go.mod
- run: AUTOBAHN=1 ./ci/test.sh
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: coverage.html
path: ./ci/out/coverage.html
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
with:
go-version-file: ./go.mod
- run: AUTOBAHN=1 ./ci/test.sh
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: coverage-dev.html
path: ./ci/out/coverage.html
5 changes: 3 additions & 2 deletions ci/lint.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#!/bin/sh
set -x
set -eu
cd -- "$(dirname "$0")/.."

go vet ./...
GOOS=js GOARCH=wasm go vet ./...

go install honnef.co/go/tools/cmd/staticcheck@latest
go install honnef.co/go/tools/cmd/staticcheck@v0.4.7
staticcheck ./...
GOOS=js GOARCH=wasm staticcheck ./...

Expand All @@ -15,7 +16,7 @@ govulncheck() {
cat "$tmpf"
fi
}
go install golang.org/x/vuln/cmd/govulncheck@latest
go install golang.org/x/vuln/cmd/govulncheck@v1.1.1
govulncheck ./...
GOOS=js GOARCH=wasm govulncheck ./...

Expand Down
Loading