mirror of
https://github.com/vacp2p/mix.git
synced 2026-01-09 21:07:59 -05:00
* chore: github workflows * fix: reduce the minimum required nim version * fix: compile examples * chore: use specific commit for libp2p (should be replaced by v1.10.4 once available) * fix: 1.6
28 lines
603 B
YAML
28 lines
603 B
YAML
name: Linters
|
|
|
|
on:
|
|
pull_request:
|
|
merge_group:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
nph:
|
|
name: NPH
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 2 # In PR, has extra merge commit: ^1 = PR, ^2 = base
|
|
|
|
- name: Check `nph` formatting
|
|
uses: arnetheduck/nph-action@v1
|
|
with:
|
|
version: 0.6.1
|
|
options: "mix tests *.nim*"
|
|
fail: true
|
|
suggest: true
|