-
Notifications
You must be signed in to change notification settings - Fork 651
47 lines (39 loc) · 1.28 KB
/
project.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: " "
on:
push:
branches:
- main
- 'release/**'
pull_request:
jobs:
# Source the common environment
environment:
name: "project checks"
uses: ./.github/workflows/reusable_environment.yml
project:
name: "project checks"
timeout-minutes: ${{ fromJSON(needs.environment.outputs.SHORT_TIMEOUT) }}
runs-on: ${{ needs.environment.outputs.HOST_UBUNTU_LTS }}
needs: environment
steps:
- name: "Checkout"
uses: actions/checkout@v4
with:
path: src/github.com/containerd/nerdctl
# Fetch the last 100 commits
fetch-depth: 100
- name: "Install go"
uses: actions/setup-go@v5
with:
go-version: ${{ needs.environment.outputs.GO_VERSION }}
cache-dependency-path: src/github.com/containerd/nerdctl
- name: "Install and run default containerd project checks"
uses: containerd/[email protected]
with:
working-directory: src/github.com/containerd/nerdctl
- name: "Verify no patent"
run: ./hack/verify-no-patent.sh
working-directory: src/github.com/containerd/nerdctl
- name: "Verify package isolation"
run: ./hack/verify-pkg-isolation.sh
working-directory: src/github.com/containerd/nerdctl