Skip to content

Commit 6c1c789

Browse files
🌱 v3 upgrade changes (#1118)
v3 go.mod changes
1 parent f153db5 commit 6c1c789

File tree

103 files changed

+241
-241
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+241
-241
lines changed

checker/check_request.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ package checker
1717
import (
1818
"context"
1919

20-
"github.com/ossf/scorecard/v2/clients"
20+
"github.com/ossf/scorecard/v3/clients"
2121
)
2222

2323
// CheckRequest struct encapsulates all data to be passed into a CheckFn.

checker/check_runner.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ import (
2323
opencensusstats "go.opencensus.io/stats"
2424
"go.opencensus.io/tag"
2525

26-
sce "github.com/ossf/scorecard/v2/errors"
27-
"github.com/ossf/scorecard/v2/stats"
26+
sce "github.com/ossf/scorecard/v3/errors"
27+
"github.com/ossf/scorecard/v3/stats"
2828
)
2929

3030
const checkRetries = 3

checks/all_checks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// Package checks defines all Scorecard checks.
1616
package checks
1717

18-
import "github.com/ossf/scorecard/v2/checker"
18+
import "github.com/ossf/scorecard/v3/checker"
1919

2020
// AllChecks is the list of all security checks that will be run.
2121
var AllChecks = checker.CheckNameToFnMap{}

checks/binary_artifact.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import (
2222
"github.com/h2non/filetype"
2323
"github.com/h2non/filetype/types"
2424

25-
"github.com/ossf/scorecard/v2/checker"
26-
sce "github.com/ossf/scorecard/v2/errors"
25+
"github.com/ossf/scorecard/v3/checker"
26+
sce "github.com/ossf/scorecard/v3/errors"
2727
)
2828

2929
// CheckBinaryArtifacts is the exported name for Binary-Artifacts check.

checks/branch_protection.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ import (
1919
"fmt"
2020
"regexp"
2121

22-
"github.com/ossf/scorecard/v2/checker"
23-
"github.com/ossf/scorecard/v2/clients"
24-
sce "github.com/ossf/scorecard/v2/errors"
22+
"github.com/ossf/scorecard/v3/checker"
23+
"github.com/ossf/scorecard/v3/clients"
24+
sce "github.com/ossf/scorecard/v3/errors"
2525
)
2626

2727
const (

checks/branch_protection_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ import (
1919

2020
"github.com/golang/mock/gomock"
2121

22-
"github.com/ossf/scorecard/v2/checker"
23-
"github.com/ossf/scorecard/v2/clients"
24-
"github.com/ossf/scorecard/v2/clients/mockrepo"
25-
sce "github.com/ossf/scorecard/v2/errors"
26-
scut "github.com/ossf/scorecard/v2/utests"
22+
"github.com/ossf/scorecard/v3/checker"
23+
"github.com/ossf/scorecard/v3/clients"
24+
"github.com/ossf/scorecard/v3/clients/mockrepo"
25+
sce "github.com/ossf/scorecard/v3/errors"
26+
scut "github.com/ossf/scorecard/v3/utests"
2727
)
2828

2929
func getBranch(branches []*clients.BranchRef, name string) *clients.BranchRef {

checks/ci_tests.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ import (
1818
"fmt"
1919
"strings"
2020

21-
"github.com/ossf/scorecard/v2/checker"
22-
"github.com/ossf/scorecard/v2/clients"
23-
sce "github.com/ossf/scorecard/v2/errors"
21+
"github.com/ossf/scorecard/v3/checker"
22+
"github.com/ossf/scorecard/v3/clients"
23+
sce "github.com/ossf/scorecard/v3/errors"
2424
)
2525

2626
// States for which CI system is in use.

checks/cii_best_practices.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ import (
2121
"net/http"
2222
"strings"
2323

24-
"github.com/ossf/scorecard/v2/checker"
25-
sce "github.com/ossf/scorecard/v2/errors"
24+
"github.com/ossf/scorecard/v3/checker"
25+
sce "github.com/ossf/scorecard/v3/errors"
2626
)
2727

2828
// CheckCIIBestPractices is the registered name for CIIBestPractices.

checks/code_review.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import (
1818
"fmt"
1919
"strings"
2020

21-
"github.com/ossf/scorecard/v2/checker"
22-
sce "github.com/ossf/scorecard/v2/errors"
21+
"github.com/ossf/scorecard/v3/checker"
22+
sce "github.com/ossf/scorecard/v3/errors"
2323
)
2424

2525
// CheckCodeReview is the registered name for DoesCodeReview.

checks/contributors.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import (
1818
"fmt"
1919
"strings"
2020

21-
"github.com/ossf/scorecard/v2/checker"
22-
sce "github.com/ossf/scorecard/v2/errors"
21+
"github.com/ossf/scorecard/v3/checker"
22+
sce "github.com/ossf/scorecard/v3/errors"
2323
)
2424

2525
const (

0 commit comments

Comments
 (0)