Skip to content
This repository was archived by the owner on Oct 14, 2026. It is now read-only.
Merged
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
14 changes: 14 additions & 0 deletions .onedev-buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ jobs:
type: DefaultCredential
withLfs: false
withSubmodules: false
checkoutPath: src
condition: SUCCESSFUL
optional: false
- type: SetupCacheStep
name: mise tools cache
key: mise-tools
checksumFiles: src/.mise.toml
entries:
- path: mise
uploadStrategy: UPLOAD_IF_NOT_EXACT_MATCH
condition: SUCCESSFUL
optional: false
- type: CommandStep
Expand All @@ -22,6 +32,10 @@ jobs:
set -eu
apk add --no-cache -q bash git jq python3 curl mise
git config --global --add safe.directory '*'
# Tools in ./mise (cached by the step above, keyed on .mise.toml):
# downloads only when a version changes (GitHub API rate limit).
export MISE_DATA_DIR="$PWD/mise"
cd src
mise trust -q .mise.toml
mise install -q
mise exec -- just lint
Expand Down
Loading