chore: tidy go.mod, add arm64 and workflows update (#1461)

* chore: tidy go.mod

* chore(gh): add arm64 and workflows update

* chore: disable staticcheck SA1019 for xerrors.Errorf

* chore: fix github.com/boltdb/bolt switch to github.com/etcd-io/bbolt? #1457
This commit is contained in:
MaineK00n
2022-06-08 21:10:07 +00:00
committed by GitHub
parent ec6e90acd3
commit 2477f9a8f8
11 changed files with 85 additions and 54 deletions

5
cache/bolt.go vendored
View File

@@ -4,10 +4,11 @@ import (
"encoding/json"
"time"
"github.com/boltdb/bolt"
bolt "go.etcd.io/bbolt"
"golang.org/x/xerrors"
"github.com/future-architect/vuls/logging"
"github.com/future-architect/vuls/util"
"golang.org/x/xerrors"
)
// Bolt holds a pointer of bolt.DB

3
cache/bolt_test.go vendored
View File

@@ -5,7 +5,8 @@ import (
"reflect"
"testing"
"github.com/boltdb/bolt"
bolt "go.etcd.io/bbolt"
"github.com/future-architect/vuls/config"
"github.com/future-architect/vuls/logging"
"github.com/future-architect/vuls/models"