Skip to content

Commit b82d1a0

Browse files
committed
Fix CI
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
1 parent 95f4539 commit b82d1a0

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
env:
8888
HOMEBREW_NO_ANALYTICS: 1
8989
HOMEBREW_NO_AUTO_UPDATE: 1
90-
- uses: sourcemeta/jsonschema@main
90+
- run: npm install --global jsonschema
9191
- run: npm ci
9292
- run: cmake --version
9393
- name: Configure Codegen (static)

src/ir/ir.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,10 @@ auto compile(const sourcemeta::core::JSON &input,
2828
sourcemeta::core::SchemaTransformer canonicalizer;
2929
sourcemeta::core::add(canonicalizer,
3030
sourcemeta::core::AlterSchemaMode::Canonicalizer);
31-
const auto canonicalized{
31+
[[maybe_unused]] const auto canonicalized{
3232
canonicalizer.apply(schema, walker, resolver,
3333
[](const auto &, const auto, const auto,
3434
const auto &) { assert(false); })};
35-
// Canonicalisation only consists of transformable rules
3635
assert(canonicalized.first);
3736

3837
// --------------------------------------------------------------------------

0 commit comments

Comments
 (0)