| 1 | # SPDX-FileCopyrightText: 2025 Shun Sakai |
| 2 | # |
| 3 | # SPDX-License-Identifier: Apache-2.0 OR MIT |
| 4 | |
| 5 | name: just |
| 6 | |
| 7 | on: |
| 8 | pull_request: |
| 9 | paths: |
| 10 | - justfile |
| 11 | push: |
| 12 | paths: |
| 13 | - justfile |
| 14 | workflow_dispatch: |
| 15 | |
| 16 | jobs: |
| 17 | just: |
| 18 | name: just |
| 19 | runs-on: ubuntu-24.04 |
| 20 | steps: |
| 21 | - name: Checkout code |
| 22 | uses: actions/checkout@v6 |
| 23 | - name: Setup just |
| 24 | uses: extractions/[email protected] |
| 25 | - name: Run formatter in check mode |
| 26 | run: just --fmt --check --unstable |