Skip to content

Commit d5fb66d

Browse files
authored
Merge branch 'main' into td-modernize-go-ec2
2 parents 9fcc3cb + 2529c92 commit d5fb66d

File tree

90 files changed

+698
-696
lines changed

Some content is hidden

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

90 files changed

+698
-696
lines changed

.ci/providerlint/passes/AWSAT001/AWSAT001.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ var Analyzer = &analysis.Analyzer{
4444
Run: run,
4545
}
4646

47-
func run(pass *analysis.Pass) (interface{}, error) {
47+
func run(pass *analysis.Pass) (any, error) {
4848
callExprs := pass.ResultOf[testmatchresourceattrcallexpr.Analyzer].([]*ast.CallExpr)
4949
commentIgnorer := pass.ResultOf[commentignore.Analyzer].(*commentignore.Ignorer)
5050

.ci/providerlint/passes/AWSAT002/AWSAT002.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var Analyzer = &analysis.Analyzer{
3030
Run: run,
3131
}
3232

33-
func run(pass *analysis.Pass) (interface{}, error) {
33+
func run(pass *analysis.Pass) (any, error) {
3434
ignorer := pass.ResultOf[commentignore.Analyzer].(*commentignore.Ignorer)
3535
inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
3636

.ci/providerlint/passes/AWSAT003/AWSAT003.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var Analyzer = &analysis.Analyzer{
3333
Run: run,
3434
}
3535

36-
func run(pass *analysis.Pass) (interface{}, error) {
36+
func run(pass *analysis.Pass) (any, error) {
3737
ignorer := pass.ResultOf[commentignore.Analyzer].(*commentignore.Ignorer)
3838
inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
3939

.ci/providerlint/passes/AWSAT004/AWSAT004.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var Analyzer = &analysis.Analyzer{
3333
Run: run,
3434
}
3535

36-
func run(pass *analysis.Pass) (interface{}, error) {
36+
func run(pass *analysis.Pass) (any, error) {
3737
ignorer := pass.ResultOf[commentignore.Analyzer].(*commentignore.Ignorer)
3838
callExprs := pass.ResultOf[testcheckresourceattrcallexpr.Analyzer].([]*ast.CallExpr)
3939

.ci/providerlint/passes/AWSAT005/AWSAT005.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var Analyzer = &analysis.Analyzer{
3333
Run: run,
3434
}
3535

36-
func run(pass *analysis.Pass) (interface{}, error) {
36+
func run(pass *analysis.Pass) (any, error) {
3737
ignorer := pass.ResultOf[commentignore.Analyzer].(*commentignore.Ignorer)
3838
inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
3939

.ci/providerlint/passes/AWSAT006/AWSAT006.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var Analyzer = &analysis.Analyzer{
3434
Run: run,
3535
}
3636

37-
func run(pass *analysis.Pass) (interface{}, error) {
37+
func run(pass *analysis.Pass) (any, error) {
3838
ignorer := pass.ResultOf[commentignore.Analyzer].(*commentignore.Ignorer)
3939
inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
4040

.ci/providerlint/passes/AWSR001/AWSR001.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var Analyzer = &analysis.Analyzer{
3333
Run: run,
3434
}
3535

36-
func run(pass *analysis.Pass) (interface{}, error) {
36+
func run(pass *analysis.Pass) (any, error) {
3737
callExprs := pass.ResultOf[fmtsprintfcallexpr.Analyzer].([]*ast.CallExpr)
3838
commentIgnorer := pass.ResultOf[commentignore.Analyzer].(*commentignore.Ignorer)
3939

.ci/providerlint/passes/AWSR002/AWSR002.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var Analyzer = &analysis.Analyzer{
2929
Run: run,
3030
}
3131

32-
func run(pass *analysis.Pass) (interface{}, error) {
32+
func run(pass *analysis.Pass) (any, error) {
3333
callExprs := pass.ResultOf[resourcedatasetcallexpr.Analyzer].([]*ast.CallExpr)
3434
commentIgnorer := pass.ResultOf[commentignore.Analyzer].(*commentignore.Ignorer)
3535

.ci/providerlint/passes/AWSV001/AWSV001.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var Analyzer = &analysis.Analyzer{
3636
Run: run,
3737
}
3838

39-
func run(pass *analysis.Pass) (interface{}, error) {
39+
func run(pass *analysis.Pass) (any, error) {
4040
callExprs := pass.ResultOf[stringinslicecallexpr.Analyzer].([]*ast.CallExpr)
4141
commentIgnorer := pass.ResultOf[commentignore.Analyzer].(*commentignore.Ignorer)
4242

.github/workflows/modern_go.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,41 @@ jobs:
4141
with:
4242
path: ~/go/pkg/mod
4343
key: ${{ runner.os }}-go-pkg-mod-${{ hashFiles('go.sum') }}
44+
- run: make TEST=./internal/acctest/... modern-check
45+
- run: make TEST=./internal/attrmap/... modern-check
46+
- run: make TEST=./internal/conns/... modern-check
47+
- run: make TEST=./internal/create/... modern-check
48+
- run: make TEST=./internal/enum/... modern-check
49+
- run: make TEST=./internal/envvar/... modern-check
50+
- run: make TEST=./internal/errs/... modern-check
51+
- run: make TEST=./internal/experimental/... modern-check
52+
- run: make TEST=./internal/flex/... modern-check
53+
- run: make TEST=./internal/framework/... modern-check
54+
- run: make TEST=./internal/function/... modern-check
55+
- run: make TEST=./internal/generate/... modern-check
56+
- run: make TEST=./internal/io/... modern-check
57+
- run: make TEST=./internal/json/... modern-check
58+
- run: make TEST=./internal/logging/... modern-check
59+
- run: make TEST=./internal/maps/... modern-check
60+
- run: make TEST=./internal/namevaluesfilters/... modern-check
61+
- run: make TEST=./internal/provider/... modern-check
62+
- run: make TEST=./internal/reflect/... modern-check
63+
- run: make TEST=./internal/retry/... modern-check
64+
- run: make TEST=./internal/sdkv2/... modern-check
65+
- run: make TEST=./internal/semver/... modern-check
66+
- run: make TEST=./internal/slices/... modern-check
67+
- run: make TEST=./internal/sweep/... modern-check
68+
- run: make TEST=./internal/tags/... modern-check
69+
- run: make TEST=./internal/tfresource/... modern-check
70+
- run: make TEST=./internal/types/... modern-check
71+
- run: make TEST=./internal/vault/... modern-check
72+
- run: make TEST=./internal/verify/... modern-check
73+
- run: make TEST=./internal/yaml/... modern-check
74+
- run: make TEST=./names/... modern-check
75+
- run: make TEST=./version/... modern-check
76+
77+
# Services
4478
- run: make TEST=./internal/service/ec2 modern-check
4579
- run: make TEST=./internal/service/mq modern-check
80+
- run: make TEST=./internal/service/wafregional modern-check
4681
- run: make TEST=./internal/service/wafv2 modern-check

0 commit comments

Comments
 (0)