From aa1dbbdb3a615e0011e45daba6ca6e69bf01f447 Mon Sep 17 00:00:00 2001 From: Smooth Operator Date: Wed, 20 Oct 2021 09:53:43 -0400 Subject: [PATCH] test against nim-1.6 but not devel --- .github/workflows/ci.yml | 10 +++++----- README.md | 3 +-- jason.nimble | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5153a6f..15bda2f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,14 +26,14 @@ jobs: fail-fast: false matrix: os: ['windows-latest', 'macos-latest', 'ubuntu-latest'] - nim: ['devel', 'version-1-4'] + nim: ['version-1-6', 'version-1-4'] name: '${{ matrix.os }} (${{ matrix.nim }})' runs-on: ${{ matrix.os }} steps: - name: Checkout uses: actions/checkout@v2 with: - path: jason + path: ci - name: Setup Nim uses: alaviss/setup-nim@0.1.1 @@ -44,7 +44,7 @@ jobs: - name: Run tests shell: bash run: | - cd jason + cd ci nimble --accept develop nimble test @@ -52,7 +52,7 @@ jobs: if: ${{ matrix.docs }} == 'true' shell: bash run: | - cd jason + cd ci branch=${{ github.ref }} branch=${branch##*/} nimble doc --project --path="." --outdir:docs \ @@ -69,6 +69,6 @@ jobs: matrix.os == 'ubuntu-latest' && matrix.nim == 'devel' uses: crazy-max/ghaction-github-pages@v1 with: - build_dir: jason/docs + build_dir: ci/docs env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index ed4bb54..3603672 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,8 @@ [![Test Matrix](https://github.com/disruptek/jason/workflows/CI/badge.svg)](https://github.com/disruptek/jason/actions?query=workflow%3ACI) [![GitHub release (latest by date)](https://img.shields.io/github/v/release/disruptek/jason?style=flat)](https://github.com/disruptek/jason/releases/latest) -![Minimum supported Nim version](https://img.shields.io/badge/nim-1.4.0%2B-informational?style=flat&logo=nim) +![Minimum supported Nim version](https://img.shields.io/badge/nim-1.4.8%2B-informational?style=flat&logo=nim) [![License](https://img.shields.io/github/license/disruptek/jason?style=flat)](#license) -[![buy me a coffee](https://img.shields.io/badge/donate-buy%20me%20a%20coffee-orange.svg)](https://www.buymeacoffee.com/disruptek) **mostly** compile-time JSON encoding diff --git a/jason.nimble b/jason.nimble index 621675b..b5c315a 100644 --- a/jason.nimble +++ b/jason.nimble @@ -4,7 +4,7 @@ description = "compile-time json" license = "MIT" when not defined(release): - requires "https://github.com/disruptek/balls > 2.0.0 & < 3.0.0" + requires "https://github.com/disruptek/balls > 2.0.0 & < 4.0.0" requires "https://github.com/disruptek/criterion < 1.0.0" task test, "run tests for ci":