A WoodpeckerCI plugin for just to lint justfiles. Also usable with Gitlab, Github or locally, see examples for usage.
- searches for justfiles recursive
- runnable with local docker daemon
Woodpecker:
steps:
just:
depends_on: []
image: kokuwaio/just:1.51.0
when:
event: pull_request
path: [.justfile]Gitlab: (using script is needed because of https://gitlab.com/gitlab-org/gitlab/-/issues/19717)
just:
needs: []
stage: lint
image:
name: kokuwaio/just:1.51.0
entrypoint: [""]
script: [/usr/bin/entrypoint.sh]
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
changes: ["**/.justfile"]CLI:
docker run --rm --volume=$PWD:$PWD:ro --workdir=$PWD kokuwaio/just:1.51.0| Image | Comment | amd64 | arm64 |
|---|---|---|---|
| kokuwaio/just | Woodpecker plugin |