git.iko.soy/typeable/pandoc
on master help sign in
Move sanity checks to lint ci.
2bcb063John MacFarlane
.github/workflows/ci.yml−9
@@ -58,9 +58,6 @@ jobs:
58 steps:
58 steps:
59 - uses: actions/checkout@v2
59 - uses: actions/checkout@v2
60
60
61− - name: Basic sanity checks
62− run: make check
63−
64 # need to install older cabal/ghc versions from ppa repository
61 # need to install older cabal/ghc versions from ppa repository
65
62
66 - name: Install recent cabal/ghc
63 - name: Install recent cabal/ghc
@@ -107,9 +104,6 @@ jobs:
107 steps:
104 steps:
108 - uses: actions/checkout@v2
105 - uses: actions/checkout@v2
109
106
110− - name: Basic sanity checks
111− run: make check
112−
113 # We should have ghc 8.10, cabal, stack pre-installed
107 # We should have ghc 8.10, cabal, stack pre-installed
114 # - uses: actions/setup-haskell@v1.1.3
108 # - uses: actions/setup-haskell@v1.1.3
115 # with:
109 # with:
@@ -159,9 +153,6 @@ jobs:
159 steps:
153 steps:
160 - uses: actions/checkout@v2
154 - uses: actions/checkout@v2
161
155
162− - name: Basic sanity checks
163− run: make check
164−
165 - name: Install recent cabal/ghc
156 - name: Install recent cabal/ghc
166 uses: actions/setup-haskell@v1.1.3
157 uses: actions/setup-haskell@v1.1.3
167 with:
158 with:
.github/workflows/lint.yml+12
@@ -25,6 +25,18 @@ jobs:
25 - name: Checkout
25 - name: Checkout
26 uses: actions/checkout@v2
26 uses: actions/checkout@v2
27
27
28+ - name: Check documentation for tabs
29+ run: |
30+ ! grep -q -n -e "\t" MANUAL.txt changelog.md
31+
32+ - name: Check cabal file for missing test files
33+ run: |
34+ cabal sdist --list-only | sed 's/\.\///' | grep '^test\/' | \
35+ sort > sdist-test-files.txt
36+ git ls-tree -r --name-only HEAD | grep '^test\/' | \
37+ sort > git-test-files.txt
38+ diff -u git-test-files.txt sdist-test-files.txt
39+
28 - name: Download and run hlint
40 - name: Download and run hlint
29 run: |
41 run: |
30 curl -sSL "${hlint_script}" | sh -s .
42 curl -sSL "${hlint_script}" | sh -s .