Repository: google/pprof (language: go)

Issue:
pprof CI tests failed due to go get is no longer supported outside a module
There is an error like

```
go: downloading golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e
go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
go: downloading github.com/BurntSushi/toml v0.3.1
go: downloading github.com/BurntSushi/toml v0.4.1
go: downloading golang.org/x/mod v0.4.2
go: downloading golang.org/x/mod v0.5.1
go: downloading golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6
go: installing executables with 'go get' in module mode is deprecated.
	Use 'go install pkg@version' instead.
	For more information, see https://golang.org/doc/go-get-install-deprecation
	or run 'go help get' or 'go help install'.
# golang.org/x/tools/internal/typeparams
work/pprof/pprof/pkg/mod/golang.org/x/tools@v0.1.6/internal/typeparams/typeparams_go118.go:144:7: info.Inferred undefined (type *types.Info has no field or method Inferred)
work/pprof/pprof/pkg/mod/golang.org/x/tools@v0.1.6/internal/typeparams/typeparams_go118.go:144:42: undefined: types.Inferred
work/pprof/pprof/pkg/mod/golang.org/x/tools@v0.1.6/internal/typeparams/typeparams_go118.go:155:10: info.Inferred undefined (type *types.Info has no field or method Inferred)
work/pprof/pprof/pkg/mod/golang.org/x/tools@v0.1.6/internal/typeparams/typeparams_go118.go:158:14: info.Inferred undefined (type *types.Info has no field or method Inferred)
Error: Process completed with exit code 2.
```

/cc @wyk9787 @mhansen 


Discussion / hints:
I think the deprecation error is not what's causing CI to fail, but https://github.com/golang/go/issues/48632 is.
@wyk9787 Ah, thanks for taking a look. Yes, looks like it's that.
Mea culpa, sorry for the breakage. We're deciding on the best fix, but should be tagging a new version of x/tools today or tomorrow.

Fix patch:
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 92c1ced81..9b433c80c 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -18,13 +18,28 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        go: ['1.15', '1.16', 'tip']
+        go: ['1.16', '1.17', 'tip']
         # Supported macOS versions can be found in
         # https://github.com/actions/virtual-environments#available-environments.
-        os: ['macos-10.15']
-        # Supported Xcode versions can be found in 
+        os: ['macos-10.15', 'macos-11']
+        # Supported Xcode versions for macOS 10.15 can be found in 
         # https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md#xcode.
-        xcode-version: ['12.4', '12.3', '12.2', '12.1.1', '12.0.1', '11.7']
+        # Supported Xcode versions for macOS 11 can be found in 
+        # https://github.com/actions/virtual-environments/blob/main/images/macos/macos-11-Readme.md#xcode
+        xcode-version: ['13.0', '12.5', '12.4', '12.3', '12.1.1', '12.0.1', '11.7']
+        exclude:
+        - os: 'macos-10.15'
+          xcode-version: '13.0' 
+        - os: 'macos-10.15'
+          xcode-version: '12.5' 
+        - os: 'macos-11'
+          xcode-version: '12.4' 
+        - os: 'macos-11'
+          xcode-version: '12.3' 
+        - os: 'macos-11'
+          xcode-version: '12.1.1' 
+        - os: 'macos-11'
+          xcode-version: '12.0.1' 
     steps:
       - name: Update Go version using setup-go
         uses: actions/setup-go@v2
@@ -56,7 +71,9 @@ jobs:
         run: |
           brew install graphviz
           # Do not let tools interfere with the main module's go.mod.
-          cd && go get -u golang.org/x/lint/golint honnef.co/go/tools/cmd/...
+          cd && go mod init tools 
+          go get -u golang.org/x/lint/golint honnef.co/go/tools/cmd/...
+          go install golang.org/x/lint/golint honnef.co/go/tools/cmd/...
           # Add PATH for installed tools.
           echo "$GOPATH/bin:$PATH" >> $GITHUB_PATH
 
@@ -88,8 +105,8 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        go: ['1.15', '1.16', 'tip']
-        os: ['ubuntu-20.04', 'ubuntu-18.04', 'ubuntu-16.04'] 
+        go: ['1.16', '1.17', 'tip']
+        os: ['ubuntu-20.04', 'ubuntu-18.04'] 
     steps:
       - name: Update Go version using setup-go
         uses: actions/setup-go@v2
@@ -116,7 +133,9 @@ jobs:
         run: |
           sudo apt-get install graphviz
           # Do not let tools interfere with the main module's go.mod.
-          cd && go get -u golang.org/x/lint/golint honnef.co/go/tools/cmd/...
+          cd && go mod init tools 
+          go get -u golang.org/x/lint/golint honnef.co/go/tools/cmd/...
+          go install golang.org/x/lint/golint honnef.co/go/tools/cmd/...
           # Add PATH for installed tools.
           echo "PATH=$GOPATH/bin:$PATH" >> $GITHUB_ENV
 
@@ -145,7 +164,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        go: ['1.15', '1.16']
+        go: ['1.16', '1.17']
     steps:
       - name: Update Go version using setup-go
         uses: actions/setup-go@v2


Test patch: