Compare commits
1
Commits
main
..
5785912b6c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5785912b6c |
No files matched your search
+2
-10
@@ -12,15 +12,7 @@ jobs:
|
|||||||
run: pipx install pre-commit
|
run: pipx install pre-commit
|
||||||
|
|
||||||
- name: Run pre-commit
|
- name: Run pre-commit
|
||||||
# `pipx install` writes the app to PIPX_BIN_DIR, which is not
|
run: ~/.local/bin/pre-commit run --all-files --show-diff-on-failure
|
||||||
# necessarily ~/.local/bin and not necessarily on PATH, so don't
|
|
||||||
# hardcode a path that only some runner images happen to use.
|
|
||||||
run: |
|
|
||||||
if command -v pre-commit >/dev/null 2>&1; then
|
|
||||||
pre-commit run --all-files --show-diff-on-failure
|
|
||||||
else
|
|
||||||
pipx run pre-commit run --all-files --show-diff-on-failure
|
|
||||||
fi
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
@@ -84,7 +76,7 @@ jobs:
|
|||||||
echo "MinIO credentials not configured; skipping upload"
|
echo "MinIO credentials not configured; skipping upload"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
curl -fLs "https://minio.weaselab.dev/public/$(uname -m)/mc.RELEASE.2025-08-13T08-35-41Z" \
|
curl -Ls "https://dl.min.io/client/mc/release/linux-$(dpkg --print-architecture)/mc" \
|
||||||
-o /tmp/mc && chmod +x /tmp/mc
|
-o /tmp/mc && chmod +x /tmp/mc
|
||||||
dest="minio/jenkins/weaseljson/${{ gitea.run_number }}/${{ matrix.name }}/"
|
dest="minio/jenkins/weaseljson/${{ gitea.run_number }}/${{ matrix.name }}/"
|
||||||
/tmp/mc cp build/*.deb "$dest"
|
/tmp/mc cp build/*.deb "$dest"
|
||||||
|
|||||||
+4
-4
@@ -167,10 +167,10 @@ struct Parser3 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Push tokenizer progress symbols for a literal or escape that straddles a
|
// Push tokenizer progress symbols for a literal or escape that straddles a
|
||||||
// chunk boundary. Unlike push(), these may grow past `stackEnd` into the
|
// chunk boundary. These go in the reserve past `stackEnd`, so they don't
|
||||||
// reserve, so they don't spend the caller's nesting budget and can never make
|
// spend the caller's nesting budget and can't make the parser overflow on
|
||||||
// the parser overflow on input it would have accepted in one piece. See
|
// input it would have accepted in one piece. See kTransientSymbols for why
|
||||||
// kTransientSymbols for why the reserve is big enough to always succeed.
|
// the reserve is big enough to always succeed.
|
||||||
[[nodiscard]] WeaselJsonStatus
|
[[nodiscard]] WeaselJsonStatus
|
||||||
pushTransient(std::initializer_list<Symbol> symbols) {
|
pushTransient(std::initializer_list<Symbol> symbols) {
|
||||||
assert(ptrdiff_t(symbols.size()) <= kTransientSymbols);
|
assert(ptrdiff_t(symbols.size()) <= kTransientSymbols);
|
||||||
|
|||||||
Reference in new issue
Block a user