aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
AgeCommit message (Collapse)Author
2022-11-07CI: use cabal 3.8.1.0, `--ghc-options=-Werror`.John MacFarlane
Previously we had to work around a cabal-install bug that caused `-Werror` to react to dependencies as well as local packages, but this is fixed in cabal 3.8.1.0. There are some cases in which building dependencies only doesn't work (see #8084).
2022-10-31First stab at mtl 2.3 compliance.John MacFarlane
This will no doubt produce a bunch of warnings and hence CI failures, which we'll need to work around with explicit imports.
2022-10-29Nightly: strip executables on windows and macos.John MacFarlane
2022-10-29Use cabal for nightly builds.John MacFarlane
2022-10-29Nightly windows: add stack clean.John MacFarlane
2022-10-29ALlow nightly action to be run manually.John MacFarlane
2022-10-29Nightly windows build: use --local-bin-path to place binary.John MacFarlane
2022-10-28CI: add ghc 9.4.2.John MacFarlane
2022-10-24Switch release_candidate workflow to workflow_dispatchJohn MacFarlane
2022-10-17CI: Make sure we test -lua configuration.John MacFarlane
2022-10-13CI: make sure we catch benchmark build failure.John MacFarlane
2022-10-09CI: build and test all componentsAlbert Krewinkel
2022-10-04Fix rc build for Windows.John MacFarlane
2022-10-02Fix `nightly` flag for macos nightly build.John MacFarlane
2022-10-01Fix nightly Windows build so it uses `nightly` flag.John MacFarlane
2022-09-29cabal.project: move back to using `flags:`.John MacFarlane
If we add the flag to constraints, it can't be overridden on the command line.
2022-09-27CI: Update files that don't trigger CI.John MacFarlane
2022-09-27CI: remove macos tests.John MacFarlane
These take much longer than the others and slow down CI, but there are almost never issues on macos that wouldn't show on linux.
2022-09-27Split benchmarks out of CI into separate action.John MacFarlane
The benchmark action is only run on manual dispatch. Rationale: this action dramatically slows down CI. It is nice to run benchmarks, but we don't need them all the time. We add (non-optimized) testing of benchmark compilation to one of the CI builds.
2022-09-26CI: Test compilation without 'server' flag.John MacFarlane
2022-09-26CI: use secrets.CACHE_VERSION as cache key.John MacFarlane
This allows us to invalidate the cache by incrementing secrets.CACHE_VERSION in the UI. The key component deriving from cabal.project has been removed. Local caching has been re-added for Windows/stack.
2022-09-23Fix stack config, nightly buildAlbert Krewinkel
2022-09-22Add pandoc-lua and man pages to releases.John MacFarlane
2022-09-18build(deps): bump actions/upload-artifact from 2 to 3 (#8304)dependabot[bot]
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-17Remove -split-sections from windows release candidate build.John MacFarlane
It's not available for Windows ghc.
2022-08-17Release candidate: try to speed up and improve windows build.John MacFarlane
2022-08-17macos release candidate: create symlink after download.John MacFarlane
Otherwise we seem to get a full copy of the file!
2022-08-17Integrate server into main pandoc.John MacFarlane
- Remove server flag. - Remove pandoc-server executable. - Add Text.Pandoc.Server as exposed module. [API change] - Re-use Opt (and our existing FromJSON instance) for Params. - Document.
2022-08-16Make sure we test building the server.John MacFarlane
2022-08-16Fix rc action for pandoc-server.John MacFarlane
2022-08-08Switch CI to ubuntu-latest.John MacFarlane
2022-08-07Rename pandoc-cgi -> pandoc-server.John MacFarlane
2022-08-06rc build: copy pandoc-cgi to linux release candidate artifacts.John MacFarlane
2022-08-06Replace old trypandoc code with new pandoc-cgi.John MacFarlane
This is based on servant. It is less hacky and more extensible.
2022-07-24CI: update macos container version (#8197)Sukka
2022-07-12CI: remove cabal command prefix.Albert Krewinkel
This was required for older cabal-install versions, but these are no longer supported.
2022-06-16CI: test with latest GHC minor versionsAlbert Krewinkel
2022-04-24nightly: use ghcup instead of haskell/actionsJohn MacFarlane
2022-04-24Bump haskell/actions from 1 to 2 (#8039)dependabot[bot]
Bumps [haskell/actions](https://github.com/haskell/actions) from 1 to 2. - [Release notes](https://github.com/haskell/actions/releases) - [Commits](https://github.com/haskell/actions/compare/v1...v2) --- updated-dependencies: - dependency-name: haskell/actions dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-12Add 'nightly' flag.John MacFarlane
This causes a `-nightly-COMPILEDATE` suffix to be added the the output of `--version`. This is used in the nightly CI builds. Closes #8016.
2022-04-12Revert "Add 'nightly' flag and build with this for nightlies."John MacFarlane
This reverts commit f81f5a20900ca9d8ad9971b6f57c11281ab2b048.
2022-04-12Revert "Nightly builds: ensure that data files are baked in."John MacFarlane
This reverts commit a2818e97eb459cafa22f19a27cf79b1d15b808a4.
2022-04-12Nightly builds: ensure that data files are baked in.John MacFarlane
It seems that stack is replacing ALL flag settings rather than overriding just one with `--flag`? This should address #8016 but we await testing after tonight's nightly is built.
2022-04-11Add 'nightly' flag and build with this for nightlies.John MacFarlane
This flag causes a suffix '-nightly-YYYY-MM-DD' to be added to the version for nightlies. Closes #8016.
2022-04-04Set permissions for GitHub actions (#8005)Naveen
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs Signed-off-by: naveensrinivasan <[email protected]>
2022-04-04CI: ensure we're using the right version of cabal.John MacFarlane
(Add `--set` to `ghcup install`.)
2022-03-24Bump actions/checkout from 2 to 3 (#7986)dependabot[bot]
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-24Bump actions/cache from 2 to 3 (#7987)dependabot[bot]
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3. - [Release notes](https://github.com/actions/cache/releases) - [Commits](https://github.com/actions/cache/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-24Change benchmarks to use ghc 9.2.2 instead of 8.8.4.John MacFarlane
2022-03-24Set permissions for GitHub actions (#7984)Naveen
This limits the damage that a compromised GitHub action could do. See https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs