From 8f2a602a6d0cb5bdbcc1fc5f44cbcc051b7941b3 Mon Sep 17 00:00:00 2001 From: Austin Vazquez Date: Mon, 25 Mar 2024 19:03:27 +0000 Subject: [PATCH] Run project-checks@v1.1.0 in CI This change is to run project-checks@v1.1.0 in CI. Signed-off-by: Austin Vazquez --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c52bc28..def94f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,27 @@ permissions: pull-requests: read jobs: + project: + name: Project Checks + runs-on: ubuntu-latest + timeout-minutes: 5 + + steps: + - uses: actions/checkout@v4 + with: + path: src/github.com/containerd/project-checks + + - uses: actions/setup-go@v5 + with: + go-version: "1.22" + cache: false + + - uses: containerd/project-checks@v1.1.0 + if: github.repository == 'containerd/project-checks' + with: + working-directory: src/github.com/containerd/project-checks + repo-access-token: ${{ secrets.GITHUB_TOKEN }} + lint: name: Lint runs-on: ubuntu-latest