Compare commits
4
Commits
5785912b6c
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dfa7451c16 | ||
|
|
426b2641ff | ||
|
|
bce971fbd2 | ||
|
|
507be6f0a2 |
No files matched your search
+10
-2
@@ -12,7 +12,15 @@ jobs:
|
|||||||
run: pipx install pre-commit
|
run: pipx install pre-commit
|
||||||
|
|
||||||
- name: Run pre-commit
|
- name: Run pre-commit
|
||||||
run: ~/.local/bin/pre-commit run --all-files --show-diff-on-failure
|
# `pipx install` writes the app to PIPX_BIN_DIR, which is not
|
||||||
|
# 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:
|
||||||
@@ -76,7 +84,7 @@ jobs:
|
|||||||
echo "MinIO credentials not configured; skipping upload"
|
echo "MinIO credentials not configured; skipping upload"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
curl -Ls "https://dl.min.io/client/mc/release/linux-$(dpkg --print-architecture)/mc" \
|
curl -fLs "https://minio.weaselab.dev/public/$(uname -m)/mc.RELEASE.2025-08-13T08-35-41Z" \
|
||||||
-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. These go in the reserve past `stackEnd`, so they don't
|
// chunk boundary. Unlike push(), these may grow past `stackEnd` into the
|
||||||
// spend the caller's nesting budget and can't make the parser overflow on
|
// reserve, so they don't spend the caller's nesting budget and can never make
|
||||||
// input it would have accepted in one piece. See kTransientSymbols for why
|
// the parser overflow on input it would have accepted in one piece. See
|
||||||
// the reserve is big enough to always succeed.
|
// kTransientSymbols for why 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