Fix ci file
Some checks failed
testing / Run govulncheck (pull_request) Failing after 19s
testing / testing (pull_request) Failing after 1m6s

This commit is contained in:
2025-03-29 14:46:03 -07:00
parent e2413fb207
commit c9c1d879c3

View File

@@ -15,7 +15,7 @@ jobs:
uses: golang/govulncheck-action@v1
with:
go-version-file: 'gitea/go.mod'
go-package: ./...
go-package: gitea/...
testing:
runs-on: ubuntu-latest
env:

View File

@@ -18,7 +18,7 @@ import (
"strings"
"sync"
"github.com/hashicorp/go-version"
version "github.com/hashicorp/go-version"
)
var jsonHeader = http.Header{"content-type": []string{"application/json"}}