Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/just-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
- name: Fetch justfiles
run: just fetch
- name: Lint justfiles
run: just just::fmt-check
run: just just-fmt-check
9 changes: 4 additions & 5 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@

import? '.just/remote/md.just'

mod? just '.just/remote/just.mod.just'
import? '.just/remote/just.just'

# --- Fetch ---

# Fetch shared justfiles from osapi-justfiles
fetch:
mkdir -p .just/remote
curl -sSfL https://raw.githubusercontent.com/osapi-io/osapi-justfiles/refs/heads/main/md/md.just -o .just/remote/md.just
curl -sSfL https://raw.githubusercontent.com/osapi-io/osapi-justfiles/refs/heads/main/just.mod.just -o .just/remote/just.mod.just
curl -sSfL https://raw.githubusercontent.com/osapi-io/osapi-justfiles/refs/heads/main/just.just -o .just/remote/just.just
curl -sSfL https://raw.githubusercontent.com/osapi-io/osapi-justfiles/refs/heads/main/just/just.just -o .just/remote/just.just

# --- Specs ---

Expand All @@ -25,10 +24,10 @@ validate:
# Run all checks
test:
just md-fmt-check
just just::fmt-check
just just-fmt-check
just validate

# Format and lint before committing
ready:
just md-fmt
just just::fmt
just just-fmt