tide/.github/workflows/CI.yml
2021-03-02 16:47:21 -08:00

74 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: [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 .
super-linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: github/super-linter@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_MD: true
VALIDATE_YAML: true