mirror of
https://github.com/logos-storage/logos-storage-network-crawler.git
synced 2026-01-02 13:33:08 +00:00
44 lines
843 B
YAML
44 lines
843 B
YAML
name: CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
linting:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Check `nph` formatting
|
|
uses: arnetheduck/nph-action@v1
|
|
with:
|
|
version: 0.6.1
|
|
options: "./"
|
|
fail: true
|
|
suggest: true
|
|
|
|
test:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macOS-latest, windows-latest]
|
|
nim: [2.2.4]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: true
|
|
|
|
- name: Build Nim and dependencies
|
|
run: |
|
|
which gcc
|
|
gcc --version
|
|
make update
|
|
./env.sh nim --version
|
|
make
|
|
|
|
- name: Run tests
|
|
run: |
|
|
make test
|
|
|
|
- name: Build crawler
|
|
run: |
|
|
make
|