Skip to content

Commit

Permalink
Re-enable project checks for .md only changes
Browse files Browse the repository at this point in the history
Signed-off-by: apostasie <[email protected]>
  • Loading branch information
apostasie committed Jul 5, 2024
1 parent 4022057 commit 3542499
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/[email protected]
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/[email protected]
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/[email protected]
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/[email protected]
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 3542499

Please sign in to comment.