From 35424992d469cf244fc1b80780ffffbbe8ca25bd Mon Sep 17 00:00:00 2001 From: apostasie Date: Thu, 4 Jul 2024 23:13:40 -0700 Subject: [PATCH] Re-enable project checks for .md only changes Signed-off-by: apostasie --- .github/workflows/project.yml | 31 +++++++++++++++++++++++++++++++ .github/workflows/test.yml | 22 ---------------------- 2 files changed, 31 insertions(+), 22 deletions(-) create mode 100644 .github/workflows/project.yml diff --git a/.github/workflows/project.yml b/.github/workflows/project.yml new file mode 100644 index 00000000000..fa53effc688 --- /dev/null +++ b/.github/workflows/project.yml @@ -0,0 +1,31 @@ +name: project + +on: + push: + branches: + - main + - 'release/**' + pull_request: + +jobs: + project: + name: Project Checks + runs-on: ubuntu-24.04 + timeout-minutes: 20 + steps: + - uses: actions/checkout@v4.1.7 + with: + path: src/github.com/containerd/nerdctl + fetch-depth: 100 + - uses: actions/setup-go@v5 + with: + go-version: ${{ env.GO_VERSION }} + cache-dependency-path: src/github.com/containerd/nerdctl + - uses: containerd/project-checks@v1.1.0 + with: + working-directory: src/github.com/containerd/nerdctl + repo-access-token: ${{ secrets.GITHUB_TOKEN }} + - run: ./hack/verify-no-patent.sh + working-directory: src/github.com/containerd/nerdctl + - run: ./hack/verify-pkg-isolation.sh + working-directory: src/github.com/containerd/nerdctl diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4be68fd297d..fa8b68ca2be 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,28 +13,6 @@ env: GO_VERSION: 1.22.x jobs: - project: - name: Project Checks - runs-on: ubuntu-24.04 - timeout-minutes: 20 - steps: - - uses: actions/checkout@v4.1.7 - with: - path: src/github.com/containerd/nerdctl - fetch-depth: 100 - - uses: actions/setup-go@v5 - with: - go-version: ${{ env.GO_VERSION }} - cache-dependency-path: src/github.com/containerd/nerdctl - - uses: containerd/project-checks@v1.1.0 - with: - working-directory: src/github.com/containerd/nerdctl - repo-access-token: ${{ secrets.GITHUB_TOKEN }} - - run: ./hack/verify-no-patent.sh - working-directory: src/github.com/containerd/nerdctl - - run: ./hack/verify-pkg-isolation.sh - working-directory: src/github.com/containerd/nerdctl - lint: runs-on: ubuntu-24.04 timeout-minutes: 20