Debian Codegraph @

.github/workflows/build.yml

raw symbols SCIP
1 name: Build
2
3 on:
4 push:
5 branches: ['main', 'release/**']
6 paths:
7 - '**'
8 - '!docs/**' # ignore docs changes
9 - '!**.md' # ignore markdown changes
10 pull_request:
11 branches: ['main', 'release/**']
12 paths:
13 - '**.go'
14 - 'go.*'
15 - 'cmd/go.*'
16 - 'Makefile'
17 - 'Dockerfile'
18 - 'integration/**'
19 - 'scripts/**'
20
21 env:
22 GO_VERSION: '1.20.12'
23
24 jobs:
25 test:
26 runs-on: ubuntu-20.04
27 steps:
28 - uses: actions/checkout@v3
29 - uses: actions/setup-go@v4
30 with:
31 go-version: ${{ env.GO_VERSION }}
32 - run: make
33 - run: make test
34 integration:
35 runs-on: ubuntu-20.04
36 strategy:
37 fail-fast: false
38 matrix:
39 containerd: ["1.6.19", "1.7.0"]
40 env:
41 DOCKER_BUILD_ARGS: "CONTAINERD_VERSION=${{ matrix.containerd }}"
42 steps:
43 - uses: actions/checkout@v3
44 - uses: actions/setup-go@v4
45 with:
46 go-version: ${{ env.GO_VERSION }}
47 - run: make integration