Skip to content

Examples and refactoring #209

Examples and refactoring

Examples and refactoring #209

Workflow file for this run

on:
pull_request:
branches:
- "*"
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
nimversion:
- '2.x'
os:
- ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Cache packages
uses: actions/cache@v3
with:
path: ~/.nimble
key: ${{ runner.os }}-${{ hashFiles('figuro.nimble') }}
- uses: iffy/install-nim@v4
with:
version: ${{ matrix.nimversion }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install Nimble
run: |
nimble install nimble
nim -v
nimble -v
- name: Install Deps
run: |
# new atlas workspace
nimble install -d --verbose
- name: Build Tests
run: |
nim test