[chore] remove unnecessary imports (#14185) #3086
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Automation - Performance | |
| on: | |
| push: | |
| branches: [main] | |
| permissions: read-all | |
| jobs: | |
| runperf: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 | |
| - name: Setup Go | |
| uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0 | |
| with: | |
| go-version: oldstable | |
| cache: false | |
| - name: Cache Go | |
| id: go-cache | |
| uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 | |
| with: | |
| path: | | |
| ~/go/bin | |
| ~/go/pkg/mod | |
| key: go-cache-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('**/go.sum') }} | |
| - name: Run benchmark | |
| run: make gobenchmark | |
| # Disabling until fine-grained permissions token enabled for the | |
| # repository | |
| #- name: Store benchmark result | |
| # uses: benchmark-action/github-action-benchmark@v1 | |
| # with: | |
| # tool: 'go' | |
| # output-file-path: benchmarks.txt | |
| # gh-pages-branch: gh-pages | |
| # auto-push: true | |
| # github-token: ${{ secrets.GITHUB_TOKEN }} | |
| # benchmark-data-dir-path: "docs/dev/bench" |