docs: update install requirements in readme #107
This file contains 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
name: test | |
on: | |
# Allow running manually | |
workflow_dispatch: | |
# Run automatically | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- 'LICENSE' | |
- '*.md' | |
- '.github/**' | |
- '*.yml' | |
pull_request: | |
branches: | |
- master | |
types: | |
- opened | |
- reopened | |
- synchronize | |
paths-ignore: | |
- '.github/**' | |
- 'LICENSE' | |
- '*.md' | |
- '*.yml' | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macOS-latest | |
nim: | |
- 1.6.14 | |
- stable | |
name: Nim ${{ matrix.nim }} (${{ matrix.os }}) | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache choosenim | |
id: cache-choosenim | |
uses: actions/cache@v2 | |
with: | |
path: ~/.choosenim | |
key: ${{ runner.os }}-choosenim-${{ matrix.nim }} | |
- name: Cache nimble | |
id: cache-nimble | |
uses: actions/cache@v2 | |
with: | |
path: ~/.nimble | |
key: ${{ runner.os }}-nimble-${{ hashFiles('*.nimble') }} | |
- name: Set up Nim | |
uses: jiro4989/setup-nim-action@v1 | |
with: | |
nim-version: ${{ matrix.nim }} | |
- name: Print Nim version | |
run: nim -v | |
- name: Print Nimble version | |
run: nimble -v | |
- name: Run Nimble tests | |
run: nimble test -y | |
- name: Build with Nimble | |
run: nimble build -y |