good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 64d74499 authored by Mathias Fredriksson's avatar Mathias Fredriksson Committed by GitHub
Browse files

ci: lock down versions in lint.sh and fix ci (#523)

parent d1468a75
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,8 @@ jobs: ...@@ -26,6 +26,8 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- run: go version - run: go version
- uses: actions/setup-go@v5 - uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
- run: ./ci/lint.sh - run: ./ci/lint.sh
test: test:
...@@ -42,7 +44,7 @@ jobs: ...@@ -42,7 +44,7 @@ jobs:
with: with:
go-version-file: ./go.mod go-version-file: ./go.mod
- run: ./ci/test.sh - run: ./ci/test.sh
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: coverage.html name: coverage.html
path: ./ci/out/coverage.html path: ./ci/out/coverage.html
......
...@@ -30,7 +30,7 @@ jobs: ...@@ -30,7 +30,7 @@ jobs:
with: with:
go-version-file: ./go.mod go-version-file: ./go.mod
- run: AUTOBAHN=1 ./ci/test.sh - run: AUTOBAHN=1 ./ci/test.sh
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: coverage.html name: coverage.html
path: ./ci/out/coverage.html path: ./ci/out/coverage.html
...@@ -60,7 +60,7 @@ jobs: ...@@ -60,7 +60,7 @@ jobs:
with: with:
go-version-file: ./go.mod go-version-file: ./go.mod
- run: AUTOBAHN=1 ./ci/test.sh - run: AUTOBAHN=1 ./ci/test.sh
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: coverage-dev.html name: coverage-dev.html
path: ./ci/out/coverage.html path: ./ci/out/coverage.html
#!/bin/sh #!/bin/sh
set -x
set -eu set -eu
cd -- "$(dirname "$0")/.." cd -- "$(dirname "$0")/.."
go vet ./... go vet ./...
GOOS=js GOARCH=wasm 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 ./... staticcheck ./...
GOOS=js GOARCH=wasm staticcheck ./... GOOS=js GOARCH=wasm staticcheck ./...
...@@ -15,7 +16,7 @@ govulncheck() { ...@@ -15,7 +16,7 @@ govulncheck() {
cat "$tmpf" cat "$tmpf"
fi fi
} }
go install golang.org/x/vuln/cmd/govulncheck@latest go install golang.org/x/vuln/cmd/govulncheck@v1.1.1
govulncheck ./... govulncheck ./...
GOOS=js GOARCH=wasm govulncheck ./... GOOS=js GOARCH=wasm govulncheck ./...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment