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
|
||||
|
||||
- name: Run pre-commit
|
||||
# `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
|
||||
run: ~/.local/bin/pre-commit run --all-files --show-diff-on-failure
|
||||
|
||||
build:
|
||||
strategy:
|
||||
@@ -84,7 +76,7 @@ jobs:
|
||||
echo "MinIO credentials not configured; skipping upload"
|
||||
exit 0
|
||||
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
|
||||
dest="minio/jenkins/weaseljson/${{ gitea.run_number }}/${{ matrix.name }}/"
|
||||
/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
|
||||
// chunk boundary. Unlike push(), these may grow past `stackEnd` into the
|
||||
// reserve, so they don't spend the caller's nesting budget and can never make
|
||||
// the parser overflow on input it would have accepted in one piece. See
|
||||
// kTransientSymbols for why the reserve is big enough to always succeed.
|
||||
// chunk boundary. These go in the reserve past `stackEnd`, so they don't
|
||||
// spend the caller's nesting budget and can't make the parser overflow on
|
||||
// input it would have accepted in one piece. See kTransientSymbols for why
|
||||
// the reserve is big enough to always succeed.
|
||||
[[nodiscard]] WeaselJsonStatus
|
||||
pushTransient(std::initializer_list<Symbol> symbols) {
|
||||
assert(ptrdiff_t(symbols.size()) <= kTransientSymbols);
|
||||
|
||||
Reference in new issue
Block a user