Skip to content

ci: setup-nim-action v2 #108

ci: setup-nim-action v2

ci: setup-nim-action v2 #108

Workflow file for this run

---
name: test
"on":
push:
branches:
- master
paths-ignore:
- README*
- LICENSE
pull_request:
paths-ignore:
- README*
- LICENSE
jobs:
test-cross-platform:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macOS-latest
nim-version:
- 'stable'
- 'devel'
exclude:
- os: windows-latest
version: devel # comment

Check failure on line 30 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 30, Col: 13): Matrix exclude key 'version' does not match any key within the matrix
steps:
- uses: actions/checkout@v4
- uses: jiro4989/setup-nim-action@v2-beta
with:
nim-version: ${{ matrix.nim-version }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: nimble install -Y
- run: nimble build -Y
- run: nimble buildjs
- run: nimble examples
- run: nimble tests
test-multi-version:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
nim-version:
- '1.4.x'
- '1.6.x'
- '2.0.x'
- 'stable'
steps:
- uses: actions/checkout@v4
- uses: jiro4989/setup-nim-action@v2-beta
with:
nim-version: ${{ matrix.nim-version }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: nimble install -Y
- run: nimble build -Y
- run: nimble buildjs
- run: nimble examples
- run: nimble tests
test-docs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
nim-version:
- 'stable'
steps:
- uses: actions/checkout@v4
- uses: jiro4989/setup-nim-action@v2-beta
with:
nim-version: ${{ matrix.nim-version }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: nimble install -Y
- run: nimble docs