Skip to content

CI

CI #151

Workflow file for this run

name: CI
on:
push:
pull_request:
branches: [master]
schedule:
- cron: '0 6 * * 6'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Download source
uses: actions/checkout@v3
- name: Install Nim
uses: jiro4989/setup-nim-action@23b5809a314afab9cacb55285d88ece6a35e38dc
- name: Install dependencies
run: nimble install -d -y
- name: Run tests
run: nimble test -y
- name: Check formatting
run: |
find . -name '*.nim' -exec nimpretty --indent:2 {} \;
git diff --exit-code