Update module github.com/sirupsen/logrus to v1.10.1 (#8290) #2707
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: Go Benchmark Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| inputs: | |
| branch: | |
| description: 'Git branch to run benchmarks on' | |
| required: false | |
| default: main | |
| jobs: | |
| go-benchmark-checks: | |
| name: GoBenchmark | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@v7 | |
| with: | |
| ref: ${{ github.event_name == 'workflow_dispatch' && inputs.branch || 'main' }} | |
| fetch-depth: 0 | |
| show-progress: false | |
| - name: Set up Go using version from .go-version | |
| uses: actions/setup-go@v7 | |
| with: | |
| go-version-file: '.go-version' | |
| - name: Install benchci | |
| run: curl -sfL https://raw.githubusercontent.com/antrea-io/benchci/main/install.sh | sudo sh -s -- -b /usr/local/bin | |
| - name: Run benchmark | |
| run: benchci -config test/performance/benchmark.yml |