Skip to content

Add Makefile target to cleanup testing artifacts #2600

Add Makefile target to cleanup testing artifacts

Add Makefile target to cleanup testing artifacts #2600

Workflow file for this run

name: Build
on:
push:
branches: ['main', 'release/**']
paths:
- '**'
- '!docs/**' # ignore docs changes
- '!**.md' # ignore markdown changes
pull_request:
branches: ['main', 'release/**']
paths:
- '.github/workflows/build.yml'
- '**.go'
- 'go.*'
- 'cmd/go.*'
- 'Makefile'
- 'Dockerfile'
- 'integration/**'
- 'scripts/**'
env:
GO_VERSION: '1.21.10'
jobs:
test:
runs-on: ubuntu-20.04
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- run: make
- run: make test
integration:
runs-on: ubuntu-20.04
timeout-minutes: 40
strategy:
fail-fast: false
matrix:
containerd: ["1.6.30", "1.7.14"]
env:
DOCKER_BUILD_ARGS: "CONTAINERD_VERSION=${{ matrix.containerd }}"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- run: make integration