aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
AgeCommit message (Collapse)AuthorFilesLines
2020-12-18Improve check target to test data/ too.John MacFarlane1-6/+1
2020-12-18Remove checkdocs from lint ci.John MacFarlane1-4/+0
2020-12-18Move sanity checks to lint ci.John MacFarlane2-9/+12
2020-12-18Add sanity checks to all CI targets.John MacFarlane1-0/+6
2020-12-18Add sanity checks to ci.John MacFarlane1-0/+3
2020-11-19JATS writer: support advanced table featuresAlbert Krewinkel1-10/+21
2020-11-18CI: validate JATS table outputAlbert Krewinkel1-6/+30
2020-11-16CI: remove setup-haskell for windows.John MacFarlane1-4/+5
It is no longer necessary, because ghc, cabal, and stack are pre-installed.
2020-11-16Update setup-haskell version.John MacFarlane1-3/+3
2020-11-07Lint code in PRs and when committing to master (#6790)Albert Krewinkel1-0/+30
* Remove unused LANGUAGE pragmata * Apply HLint suggestions * Configure HLint to ignore some warnings * Lint code when committing to master
2020-10-31CI: improve JATS format validator workflowAlbert Krewinkel1-8/+14
2020-10-31CI: validate JATS old-style writer test outputAlbert Krewinkel1-0/+47
2020-10-08Use ghc 8.8.4 for CI build on macOS, because it is pre-installed.John MacFarlane1-1/+1
2020-10-05Run nightly one hour later.John MacFarlane1-1/+1
2020-10-04Try to fix Windows CI by installing happy first.John MacFarlane1-0/+1
We're having the build fail with ``` windows\ghc-8.6.5\mingw\bin\strip.exe: unable to rename 'C:\sr\snapshots\c886f694\bin\happy.exe'; reason: File exists ```
2020-09-23Revert stack->cabal change in nightly.yml.John MacFarlane1-20/+21
2020-09-22release-candidate build: use latest stack on the runner.John MacFarlane1-57/+0
instead of installing from choco. Remove obsolete macos and win i386 sections.
2020-09-22Nightly process improvements.John MacFarlane1-33/+20
- Use cabal for windows. - Use most recent cabal/ghc. - Udd sha1 to executable name.
2020-09-22CI: use checkout@v2, and use haskell-setup to install stack.John MacFarlane2-10/+11
2020-09-21Add built-in citation support using new citeproc library.John MacFarlane2-12/+9
This deprecates the use of the external pandoc-citeproc filter; citation processing is now built in to pandoc. * Add dependency on citeproc library. * Add Text.Pandoc.Citeproc module (and some associated unexported modules under Text.Pandoc.Citeproc). Exports `processCitations`. [API change] * Add data files needed for Text.Pandoc.Citeproc: default.csl in the data directory, and a citeproc directory that is just used at compile-time. Note that we've added file-embed as a mandatory rather than a conditional depedency, because of the biblatex localization files. We might eventually want to use readDataFile for this, but it would take some code reorganization. * Text.Pandoc.Loging: Add `CiteprocWarning` to `LogMessage` and use it in `processCitations`. [API change] * Add tests from the pandoc-citeproc package as command tests (including some tests pandoc-citeproc did not pass). * Remove instructions for building pandoc-citeproc from CI and release binary build instructions. We will no longer distribute pandoc-citeproc. * Markdown reader: tweak abbreviation support. Don't insert a nonbreaking space after a potential abbreviation if it comes right before a note or citation. This messes up several things, including citeproc's moving of note citations. * Add `csljson` as and input and output format. This allows pandoc to convert between `csljson` and other bibliography formats, and to generate formatted versions of CSL JSON bibliographies. * Add module Text.Pandoc.Writers.CslJson, exporting `writeCslJson`. [API change] * Add module Text.Pandoc.Readers.CslJson, exporting `readCslJson`. [API change] * Added `bibtex`, `biblatex` as input formats. This allows pandoc to convert between BibLaTeX and BibTeX and other bibliography formats, and to generated formatted versions of BibTeX/BibLaTeX bibliographies. * Add module Text.Pandoc.Readers.BibTeX, exporting `readBibTeX` and `readBibLaTeX`. [API change] * Make "standalone" implicit if output format is a bibliography format. This is needed because pandoc readers for bibliography formats put the bibliographic information in the `references` field of metadata; and unless standalone is specified, metadata gets ignored. (TODO: This needs improvement. We should trigger standalone for the reader when the input format is bibliographic, and for the writer when the output format is markdown.) * Carry over `citationNoteNum` to `citationNoteNumber`. This was just ignored in pandoc-citeproc. * Text.Pandoc.Filter: Add `CiteprocFilter` constructor to Filter. [API change] This runs the processCitations transformation. We need to treat it like a filter so it can be placed in the sequence of filter runs (after some, before others). In FromYAML, this is parsed from `citeproc` or `{type: citeproc}`, so this special filter may be specified either way in a defaults file (or by `citeproc: true`, though this gives no control of positioning relative to other filters). TODO: we need to add something to the manual section on defaults files for this. * Add deprecation warning if `upandoc-citeproc` filter is used. * Add `--citeproc/-C` option to trigger citation processing. This behaves like a filter and will be positioned relative to filters as they appear on the command line. * Rewrote the manual on citatations, adding a dedicated Citations section which also includes some information formerly found in the pandoc-citeproc man page. * Look for CSL styles in the `csl` subdirectory of the pandoc user data directory. This changes the old pandoc-citeproc behavior, which looked in `~/.csl`. Users can simply symlink `~/.csl` to the `csl` subdirectory of their pandoc user data directory if they want the old behavior. * Add support for CSL bibliography entry formatting to LaTeX, HTML, Ms writers. Added CSL-related CSS to styles.html.
2020-09-20CI: bump tested GHC versions to 8.8.4 and 8.10.2Albert Krewinkel1-4/+3
Besides being newer, GHC version 8.10.2 comes preinstalled on GitHub Actions environments; using it slightly speeds up CI tests.
2020-09-20CI: remove duplicate build step on macOSAlbert Krewinkel1-6/+0
2020-09-10CI: use cabal for macos builds.John MacFarlane1-17/+34
2020-09-03CI/macOS: Fix stack invocations.John MacFarlane1-3/+3
2020-09-03CI/macOs: Use setup-haskell to setup stack.John MacFarlane1-4/+7
2020-08-28release-candidate: don't build windows i386.John MacFarlane1-5/+5
So far we haven't been able to figure out how to get stack to use a 32-bit ghc.
2020-08-27Remove macos build from GitHub actions rc.John MacFarlane1-43/+44
2020-08-15Actions CI: Try cache@v2.John MacFarlane1-10/+14
2020-08-11Linux rc build: use ghc-musl container.John MacFarlane1-1/+0
This simplifies our build process a bit (over using a customized alpine container). Use new `--enable-executable-static` flag in build. make_artifacts.sh: Fix deprecated find -perm syntax.
2020-07-23Restore testing with ghc 8.0.2.John MacFarlane1-0/+2
2020-07-23release-candidate: pin upload-artifact to specific version.John MacFarlane1-3/+3
2020-07-19CI: Drop testing on ghc 8.0.2.John MacFarlane1-2/+0
2020-07-13[CI] Use setup-haskell actionNikolay Yakimov1-10/+4
2020-06-29rc action: use older stack that supports i386 for Windows i386 build.John MacFarlane1-1/+2
2020-06-23CI: fix typo in GitHub CI workflow configAlbert Krewinkel1-2/+2
Switch `ignore-paths` with `paths-ignore`.
2020-06-20CI: use GitHub workflow command to set system pathAlbert Krewinkel1-2/+3
This way, the PATH environment variable does not have to be set repeatedly in each step.
2020-06-15linux CI: use ppa to install older ghc/cabal versions.John MacFarlane1-3/+14
2020-06-14Linux CI: use cabal 3.2 for everything.John MacFarlane1-4/+4
The ubuntu images no longer contain older cabal versions, it semes.
2020-06-14CI: use ubuntu-18.04 instead of 20.04.John MacFarlane3-3/+3
2020-06-14CI: use cabal 3.2, also specify OS versions instead of 'latest.'John MacFarlane3-12/+12
2020-06-14Switch CI to use ghc 8.8.3.John MacFarlane2-3/+3
This should fix CI failures.
2020-06-13nightly: add ls statements to diagnose linux build failure.John MacFarlane1-0/+2
2020-05-25[CI] broken commit message length test (#6398)Nikolay Yakimov2-10/+38
* [CI] Fix commit message length check * [CI] Smarter commit message length check * [CI] Fix commit message length check for new branches * [CI] Output offending commits
2020-05-25CI: another attempt to fix line-length check.John MacFarlane1-2/+1
2020-05-25CI: Don't include merge commits when checking message length.John MacFarlane1-1/+1
2020-05-21Add commit message check to ci.yml workflow.John MacFarlane1-0/+11
2020-05-21Revert "Add action to check commit messages for line length."John MacFarlane1-34/+0
This reverts commit 7902ac5256a3c25bb6318113da6b231588ef2d5a.
2020-05-21Add action to check commit messages for line length.John MacFarlane1-0/+34
2020-05-04Revert "Windows CI: try adding -fexternal-interpreter as ghc option."John MacFarlane1-2/+2
This reverts commit 47bfcfb406e2980f07fea9c9884f037a0a670f03.
2020-05-04Windows CI: try adding -fexternal-interpreter as ghc option.John MacFarlane1-2/+2