diff --git a/.github/workflows/pr-test-lint.yml b/.github/workflows/pr-test-lint.yml index 5c0a07f655..a996c6b38c 100644 --- a/.github/workflows/pr-test-lint.yml +++ b/.github/workflows/pr-test-lint.yml @@ -71,16 +71,6 @@ jobs: go-version: ">=${{ env.golang-version }}" cache: false - # https://github.com/actions/cache/blob/main/examples.md#go---modules - - uses: actions/cache@v4 - with: - path: | - ~/.cache/go-build - ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - - name: 'Set up gcloud CLI' uses: 'google-github-actions/setup-gcloud@v2' diff --git a/providers/os/resources/cpe/pkg2cpe.go b/providers/os/resources/cpe/pkg2cpe.go index b1452d2fb1..2fa19b4517 100644 --- a/providers/os/resources/cpe/pkg2cpe.go +++ b/providers/os/resources/cpe/pkg2cpe.go @@ -6,8 +6,9 @@ package cpe import ( "errors" "fmt" - "github.com/facebookincubator/nvdtools/wfn" "strings" + + "github.com/facebookincubator/nvdtools/wfn" ) func NewPackage2Cpe(vendor, name, version, release, arch string) (string, error) {