Skip to content

Commit

Permalink
Merge pull request #3180 from apostasie/ci-fix
Browse files Browse the repository at this point in the history
Re-enable project checks for .md only changes
  • Loading branch information
AkihiroSuda authored Jul 5, 2024
2 parents 4022057 + 3542499 commit d6a77ed
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 22 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/project.yml
Original file line number Diff line number Diff line change
@@ -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
22 changes: 0 additions & 22 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d6a77ed

Please sign in to comment.