diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8816055..5387cdc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,3 +9,5 @@ on: jobs: build: uses: status-im/nimbus-common-workflow/.github/workflows/common.yml@main + with: + nim-versions: '["version-2-0", "version-2-2", "devel"]' diff --git a/json_rpc.nimble b/json_rpc.nimble index be784a4..1b13015 100644 --- a/json_rpc.nimble +++ b/json_rpc.nimble @@ -17,7 +17,7 @@ license = "Apache License 2.0" skipDirs = @["tests"] ### Dependencies -requires "nim >= 1.6.0", +requires "nim >= 2.0.10", "stew", "nimcrypto", "stint", @@ -44,8 +44,7 @@ proc build(args, path: string) = proc run(args, path: string) = build args & " --mm:refc -r", path - if (NimMajor, NimMinor) > (1, 6): - build args & " --mm:orc -r", path + build args & " --mm:orc -r", path proc buildOnly(args, path: string) = build args & " --mm:refc", path