Skip to content

Commit

Permalink
ci: Run CodeLimit (#211)
Browse files Browse the repository at this point in the history
# Pull Request

## Description

This pull request introduces a new job to the GitHub Actions workflow
for code limit analysis. The most important change is the addition of
the `run-code-limit` job to the `.github/workflows/code-checks.yml`
file.

New job added to GitHub Actions workflow:

*
[`.github/workflows/code-checks.yml`](diffhunk://#diff-ddf88e15b08104435ae66be9982938335f6c290a85de4cb9a09868e0e01dd4d4R160-R176):
Added `run-code-limit` job for code limit analysis, which includes steps
for checking out the repository and running the
`getcodelimit/codelimit-action`.

Fixes #210
  • Loading branch information
JackPlowman authored Nov 16, 2024
1 parent 5020782 commit 7fb0804
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/code-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,20 @@ jobs:

- name: Build Docker Image
run: just docker-build

run-code-limit:
name: Code Limit Analysis
runs-on: ubuntu-latest
permissions:
statuses: write
steps:
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0

- name: "Run Code Limit"
uses: getcodelimit/codelimit-action@8ee70f8d3d5b984130e46fb8ccbe229f5e1d68d0
with:
token: ${{ secrets.GITHUB_TOKEN }}
upload: true

0 comments on commit 7fb0804

Please sign in to comment.