Skip to content

feature: build test workflow #1

feature: build test workflow

feature: build test workflow #1

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
branches:
- 'master'
paths:
- '.github/workflows/**'
- 'src/**'
jobs:
build:

Check failure on line 12 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 12
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
nim-version:
- 2.2.0
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Cache nimble
id: cache-nimble
uses: actions/cache@v4
with:
path: ~/.nimble
key: ${{ runner.os }}-nimble-v2-${{ hashFiles('*.nimble') }}
- name: Setup nim
uses: jiro4989/setup-nim-action@v2
with:
nim-version: ${{ matrix.nim-version }}
- name: Install Packages
run: nimble install -d -y
- name: Build test
run: nimble build -Y