diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-12-18 09:55:34 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-12-18 09:55:34 -0800 |
commit | 2bcb063df846b22a463fbf777cd23dc9b940df44 (patch) | |
tree | 5bafbb6cf9449bbb078a4a77a4cced1c997a13e1 | |
parent | b7d7c45562d7a7b84f64fc147606eda41b4e2cef (diff) | |
download | pandoc-2bcb063df846b22a463fbf777cd23dc9b940df44.tar.gz |
Move sanity checks to lint ci.
-rw-r--r-- | .github/workflows/ci.yml | 9 | ||||
-rw-r--r-- | .github/workflows/lint.yml | 12 |
2 files changed, 12 insertions, 9 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 65a2452ec..4debe1ebe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,9 +58,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Basic sanity checks - run: make check - # need to install older cabal/ghc versions from ppa repository - name: Install recent cabal/ghc @@ -107,9 +104,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Basic sanity checks - run: make check - # We should have ghc 8.10, cabal, stack pre-installed # - uses: actions/setup-haskell@v1.1.3 # with: @@ -159,9 +153,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Basic sanity checks - run: make check - - name: Install recent cabal/ghc uses: actions/setup-haskell@v1.1.3 with: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d2f463ec7..12b8d4792 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -25,6 +25,18 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - name: Check documentation for tabs + run: | + ! grep -q -n -e "\t" MANUAL.txt changelog.md + + - name: Check cabal file for missing test files + run: | + cabal sdist --list-only | sed 's/\.\///' | grep '^test\/' | \ + sort > sdist-test-files.txt + git ls-tree -r --name-only HEAD | grep '^test\/' | \ + sort > git-test-files.txt + diff -u git-test-files.txt sdist-test-files.txt + - name: Download and run hlint run: | curl -sSL "${hlint_script}" | sh -s . |