Skip to content

add project check action #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 14 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,28 +39,29 @@ jobs:
#
project:
name: Project Checks
if: github.repository == 'containerd/containerd'
if: github.repository == 'coderbirju/containerd'
runs-on: ubuntu-22.04
timeout-minutes: 5

steps:
- uses: actions/checkout@v4
with:
path: src/github.com/containerd/containerd
path: src/github.com/coderbirju/containerd
fetch-depth: 100

- uses: ./src/github.com/containerd/containerd/.github/actions/install-go
- uses: ./src/github.com/coderbirju/containerd/.github/actions/install-go

- uses: containerd/[email protected]
- uses: coderbirju/[email protected]
if: github.repository == 'coderbirju/containerd'
with:
working-directory: src/github.com/containerd/containerd
working-directory: src/github.com/coderbirju/containerd
repo-access-token: ${{ secrets.GITHUB_TOKEN }}

- name: verify go modules and vendor directory
run: |
sudo apt-get install -y jq
make verify-vendor
working-directory: src/github.com/containerd/containerd
working-directory: src/github.com/coderbirju/containerd

#
# Protobuf checks
Expand All @@ -72,14 +73,14 @@ jobs:

defaults:
run:
working-directory: src/github.com/containerd/containerd
working-directory: src/github.com/coderbirju/containerd

steps:
- uses: actions/checkout@v4
with:
path: src/github.com/containerd/containerd
path: src/github.com/coderbirju/containerd

- uses: ./src/github.com/containerd/containerd/.github/actions/install-go
- uses: ./src/github.com/coderbirju/containerd/.github/actions/install-go

- name: Set env
shell: bash
Expand Down Expand Up @@ -218,14 +219,14 @@ jobs:
defaults:
run:
shell: bash
working-directory: src/github.com/containerd/containerd
working-directory: src/github.com/coderbirju/containerd

steps:
- uses: actions/checkout@v4
with:
path: src/github.com/containerd/containerd
path: src/github.com/coderbirju/containerd

- uses: ./src/github.com/containerd/containerd/.github/actions/install-go
- uses: ./src/github.com/coderbirju/containerd/.github/actions/install-go

- uses: actions/checkout@v4
with:
Expand All @@ -237,7 +238,7 @@ jobs:
run: |
echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
echo "${{ github.workspace }}/src/github.com/containerd/containerd/bin" >> $GITHUB_PATH
echo "${{ github.workspace }}/src/github.com/coderbirju/containerd/bin" >> $GITHUB_PATH
echo "${{ github.workspace }}/src/github.com/kubernetes-sigs/cri-tools/build/bin/windows/amd64" >> $GITHUB_PATH

- run: script/setup/install-dev-tools
Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ require (
k8s.io/kubelet v0.29.2
k8s.io/utils v0.0.0-20230726121419-3b25d923346b
tags.cncf.io/container-device-interface v0.6.2
github.com/coderbirju/project-checks v1.1.3
)

require (
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ github.com/cilium/ebpf v0.11.0/go.mod h1:WE7CZAnqOL2RouJ4f1uyNhqr2P4CCvXFIqdRDUg
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
github.com/coderbirju/project-checks v1.1.3 h1:PdTY/dhGsCd6D0U88hjgQv1AVfCxWlB9lt+VDhtD9f0=
github.com/coderbirju/project-checks v1.1.3/go.mod h1:OJLVoHc6b+xyzKLAL7rm+GrWnLDlarukqVFbDZPJA3I=
github.com/containerd/btrfs/v2 v2.0.0 h1:FN4wsx7KQrYoLXN7uLP0vBV4oVWHOIKDRQ1G2Z0oL5M=
github.com/containerd/btrfs/v2 v2.0.0/go.mod h1:swkD/7j9HApWpzl8OHfrHNxppPd9l44DFZdF94BUj9k=
github.com/containerd/cgroups/v3 v3.0.3 h1:S5ByHZ/h9PMe5IOQoN7E+nMc2UcLEM/V48DGDJ9kip0=
Expand Down
2 changes: 2 additions & 0 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ github.com/cilium/ebpf/internal/sys
github.com/cilium/ebpf/internal/tracefs
github.com/cilium/ebpf/internal/unix
github.com/cilium/ebpf/link
# github.com/coderbirju/project-checks v1.1.3
## explicit
# github.com/containerd/btrfs/v2 v2.0.0
## explicit; go 1.19
github.com/containerd/btrfs/v2
Expand Down
Loading