Skip to content

Commit

Permalink
test against nim-1.6 but not devel
Browse files Browse the repository at this point in the history
  • Loading branch information
disruptek committed Oct 20, 2021
1 parent 99f728d commit aa1dbbd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand All @@ -44,15 +44,15 @@ jobs:
- name: Run tests
shell: bash
run: |
cd jason
cd ci
nimble --accept develop
nimble test
- name: Build docs
if: ${{ matrix.docs }} == 'true'
shell: bash
run: |
cd jason
cd ci
branch=${{ github.ref }}
branch=${branch##*/}
nimble doc --project --path="." --outdir:docs \
Expand All @@ -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 }}
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion jason.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit aa1dbbd

Please sign in to comment.