Skip to content

v0.6.1

v0.6.1 #316

Workflow file for this run

name: CI
on: [push, pull_request]
concurrency: # Cancel stale PR builds (but not push builds)
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
build:
strategy:
fail-fast: false
matrix:
target:
- os: linux
name: linux_x64
- os: macosx
name: macosx_x64
- os: windows
name: windows_x64
include:
- target:
os: linux
builder: ubuntu-20.04
- target:
os: macosx
builder: macos-13
- target:
os: windows
builder: windows-2019
defaults:
run:
shell: bash
name: CI '${{ matrix.target.name }}'
runs-on: ${{ matrix.builder }}
steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- name: Checkout
uses: actions/checkout@v4
- uses: nim-lang/setup-nimble-action@v1
with:
nimble-version: '0.16.4'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build nph
run: |
nimble build
- name: Check formatting
run: |
! ./nph --check tests/before
./nph --check tests/after
./nph src
git diff --exit-code