Add benchmark job and update benchmark results #1593
Workflow file for this run
This file contains 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: Build | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- '**' | |
- '!docs/**' # ignore docs changes | |
- '!**.md' # ignore markdown changes | |
pull_request: | |
branches: [ main ] | |
paths: | |
- '**.go' | |
- 'go.*' | |
- 'cmd/go.*' | |
- 'Makefile' | |
- 'Dockerfile' | |
- 'integration/**' | |
- 'scripts/**' | |
jobs: | |
benchmark: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.18.10' | |
- run: make | |
- run: make benchmark | |
test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.18.10' | |
- run: make | |
- run: make test | |
integration: | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
containerd: ["1.6.19", "1.7.0"] | |
env: | |
DOCKER_BUILD_ARGS: "CONTAINERD_VERSION=${{ matrix.containerd }}" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.18.10' | |
- run: make integration |