Add CI syntax and format checking for Fish

This commit is contained in:
Ilan Cosman 2021-02-26 15:16:36 -08:00
parent b3a7db5b53
commit 3655703522

View File

@ -20,9 +20,9 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: fish-actions/install-fish@v1.1.0 - uses: fish-actions/install-fish@v1
- uses: fish-actions/fisher@v1.0.0 - uses: fish-actions/fisher@v1
with: with:
plugins: ilancosman/clownfish $GITHUB_WORKSPACE plugins: ilancosman/clownfish $GITHUB_WORKSPACE
@ -30,6 +30,26 @@ jobs:
with: with:
files: $GITHUB_WORKSPACE/tests/** 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: prettier:
runs-on: ubuntu-latest runs-on: ubuntu-latest