Skip to content

Commit

Permalink
🐌 remove slow github caching (#3093)
Browse files Browse the repository at this point in the history
* 🐌 remove slow github caching

* 🧹 small go change to trigger the test
  • Loading branch information
chris-rock authored Jan 24, 2024
1 parent 9a4150a commit 15daa40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/pr-test-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
3 changes: 2 additions & 1 deletion providers/os/resources/cpe/pkg2cpe.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 15daa40

Please sign in to comment.