cleanup #55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- "main" | |
jobs: | |
tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
nimversion: | |
- '2.x' | |
os: | |
- ubuntu-latest | |
- macOS-latest | |
- windows-latest | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
path: "figuro/" | |
- 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: Cache packages | |
uses: actions/cache@v3 | |
with: | |
path: vendor | |
key: ${{ runner.os }}-${{ hashFiles('figuro/atlas.lock') }} | |
- name: Install Deps | |
run: | | |
# sync deps | |
nimble install -d --verbose | |
- name: Build Tests | |
run: | | |
nim test |