Skip to content

Commit

Permalink
ci: Add Justfile format check to code quality workflow (#43)
Browse files Browse the repository at this point in the history
# Pull Request

## Description

This change adds a new job to the code quality workflow to check the formatting of the Justfile. The new job, named "Check Justfile Format", runs on Ubuntu and performs the following steps:

1. Checks out the repository
2. Sets up the Just command runner
3. Executes the `just format-check` command to verify the Justfile's formatting

This addition enhances the existing code quality checks by ensuring that the Justfile adheres to consistent formatting standards.

fixes #39
  • Loading branch information
JackPlowman authored Sep 28, 2024
1 parent 3810fc0 commit 9fe1308
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,18 @@ jobs:

- name: Check Python Code for Dead Code (Vulture)
run: just vulture

check-justfile-format:
name: Check Justfile Format
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Just
uses: extractions/setup-just@v2

- name: Check Justfile Format
run: just format-check

0 comments on commit 9fe1308

Please sign in to comment.