mirror of
https://github.com/logos-storage/nim-serde.git
synced 2026-01-02 13:43:06 +00:00
* chore: allow for newer versions of chronicles Signed-off-by: Mark Spanbroek <mark@spanbroek.net> * chore: add nimble lock Signed-off-by: Mark Spanbroek <mark@spanbroek.net> * chore!: no longer support nim 1.6.x Signed-off-by: Mark Spanbroek <mark@spanbroek.net> * fix: make tests work with nimble lock file Signed-off-by: Mark Spanbroek <mark@spanbroek.net> --------- Signed-off-by: Mark Spanbroek <mark@spanbroek.net>
37 lines
705 B
YAML
37 lines
705 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
name: Run tests
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
nim: [2.0.16, 2.2.4]
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install Nim
|
|
uses: iffy/install-nim@v4
|
|
with:
|
|
version: ${{ matrix.nim }}
|
|
- name: Build
|
|
run: nimble install -y
|
|
|
|
- name: Test
|
|
run: nimble test -y
|
|
|
|
status:
|
|
if: always()
|
|
needs: [test]
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped') }}
|
|
run: exit 1
|