mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-25 13:06:32 +03:00
73 lines
1.3 KiB
YAML
73 lines
1.3 KiB
YAML
---
|
|
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches-ignore:
|
|
- main
|
|
tags-ignore:
|
|
- v*.*.*
|
|
pull_request:
|
|
|
|
jobs:
|
|
tests:
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
matrix:
|
|
os: [macos-latest, ubuntu-latest]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: fish-actions/install-fish@v1
|
|
|
|
- uses: fish-actions/fisher@v1
|
|
with:
|
|
plugins: ilancosman/clownfish $GITHUB_WORKSPACE
|
|
|
|
- uses: fish-actions/littlecheck@v1
|
|
with:
|
|
files: $GITHUB_WORKSPACE/tests/**
|
|
|
|
syntax-check:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: fish-actions/install-fish@v1
|
|
|
|
- uses: fish-actions/syntax-check@v1
|
|
|
|
format-check:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: fish-actions/install-fish@v1
|
|
|
|
- uses: fish-actions/format-check@v1
|
|
|
|
prettier:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actionsx/prettier@v2
|
|
with:
|
|
args: --check .
|
|
|
|
mega-linter:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: nvuillam/mega-linter/flavors/documentation@v4
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
DISABLE_LINTERS: SPELL_CSPELL
|