mirror of
https://github.com/xmonad/xmonad.git
synced 2025-07-31 20:21:52 -07:00
Merge branch 'packdeps'
This commit is contained in:
40
.github/workflows/packdeps.yml
vendored
Normal file
40
.github/workflows/packdeps.yml
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
name: Packdeps
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
# Run every Saturday
|
||||||
|
- cron: '0 3 * * 6'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
packdeps:
|
||||||
|
name: Packdeps
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Clone project
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Setup Haskell
|
||||||
|
uses: haskell/actions/setup@v1
|
||||||
|
with:
|
||||||
|
# packdeps doesn't build with newer as of 2021-10
|
||||||
|
ghc-version: '8.8'
|
||||||
|
- name: Install packdeps
|
||||||
|
run: |
|
||||||
|
set -ex
|
||||||
|
echo "$HOME/.cabal/bin" >> $GITHUB_PATH
|
||||||
|
cabal install packdeps
|
||||||
|
- name: Check package bounds (all)
|
||||||
|
continue-on-error: true
|
||||||
|
run: |
|
||||||
|
set -ex
|
||||||
|
packdeps \
|
||||||
|
--exclude X11 \
|
||||||
|
*.cabal
|
||||||
|
- name: Check package bounds (preferred)
|
||||||
|
run: |
|
||||||
|
set -ex
|
||||||
|
packdeps \
|
||||||
|
--preferred \
|
||||||
|
--exclude X11 \
|
||||||
|
*.cabal
|
6
.github/workflows/stack.yml
vendored
6
.github/workflows/stack.yml
vendored
@@ -20,6 +20,8 @@ jobs:
|
|||||||
ghc: 8.8.4
|
ghc: 8.8.4
|
||||||
- resolver: lts-17
|
- resolver: lts-17
|
||||||
ghc: 8.10.4
|
ghc: 8.10.4
|
||||||
|
- resolver: lts-18
|
||||||
|
ghc: 8.10.7
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone project
|
- name: Clone project
|
||||||
@@ -43,7 +45,8 @@ jobs:
|
|||||||
#
|
#
|
||||||
|
|
||||||
- name: Install GHC
|
- name: Install GHC
|
||||||
# use system ghc in stack, don't waste GH Actions cache space
|
# use system ghc (if available) in stack, don't waste GH Actions cache space
|
||||||
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
set -ex
|
set -ex
|
||||||
sudo apt install -y ghc-${{ matrix.ghc }}
|
sudo apt install -y ghc-${{ matrix.ghc }}
|
||||||
@@ -70,6 +73,7 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
~/.stack/*
|
~/.stack/*
|
||||||
!~/.stack/pantry
|
!~/.stack/pantry
|
||||||
|
!~/.stack/programs
|
||||||
key: stack-${{ runner.os }}-${{ matrix.resolver }}-${{ steps.cache-date.outputs.date }}-${{ hashFiles('stack.yaml') }}-${{ hashFiles('*.cabal') }}
|
key: stack-${{ runner.os }}-${{ matrix.resolver }}-${{ steps.cache-date.outputs.date }}-${{ hashFiles('stack.yaml') }}-${{ hashFiles('*.cabal') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
stack-${{ runner.os }}-${{ matrix.resolver }}-${{ steps.cache-date.outputs.date }}-${{ hashFiles('stack.yaml') }}-
|
stack-${{ runner.os }}-${{ matrix.resolver }}-${{ steps.cache-date.outputs.date }}-${{ hashFiles('stack.yaml') }}-
|
||||||
|
@@ -78,10 +78,9 @@ When the time comes to release another version of xmonad and xmonad-contrib:
|
|||||||
|
|
||||||
If the manpage changes, wait for the CI to rebuild the rendered outputs.
|
If the manpage changes, wait for the CI to rebuild the rendered outputs.
|
||||||
|
|
||||||
3. Check dependency bounds. In particular, [packdeps][] can be used to check
|
3. Make sure that `tested-with:` covers several recent releases of GHC, that
|
||||||
if any new versions are excluded by the upper bounds specified.
|
`.github/workflows/haskell-ci.yml` had been updated to test all these GHC
|
||||||
Also, make sure that `tested-with:` covers several recent releases of
|
versions and that `.github/workflows/stack.yml` tests with several recent
|
||||||
GHC, and that `.github/workflows/stack.yml` tests with several recent
|
|
||||||
revisions of [Stackage][] LTS.
|
revisions of [Stackage][] LTS.
|
||||||
|
|
||||||
4. Create a release on GitHub:
|
4. Create a release on GitHub:
|
||||||
@@ -105,9 +104,12 @@ When the time comes to release another version of xmonad and xmonad-contrib:
|
|||||||
|
|
||||||
7. Post announcement to:
|
7. Post announcement to:
|
||||||
|
|
||||||
|
- [xmonad.org website](https://github.com/xmonad/xmonad-web/tree/gh-pages/news/_posts)
|
||||||
- [XMonad mailing list](https://mail.haskell.org/mailman/listinfo/xmonad)
|
- [XMonad mailing list](https://mail.haskell.org/mailman/listinfo/xmonad)
|
||||||
- [Haskell Cafe](https://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe)
|
- [Haskell Cafe](https://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe)
|
||||||
- [Haskell Discourse](https://discourse.haskell.org/)
|
- [Haskell Discourse](https://discourse.haskell.org/)
|
||||||
|
- [Twitter](https://twitter.com/xmonad)
|
||||||
|
- [Reddit](https://www.reddit.com/r/xmonad/)
|
||||||
|
|
||||||
See [old announcements][old-announce] for inspiration.
|
See [old announcements][old-announce] for inspiration.
|
||||||
|
|
||||||
|
@@ -67,7 +67,7 @@ library
|
|||||||
XMonad.StackSet
|
XMonad.StackSet
|
||||||
other-modules: Paths_xmonad
|
other-modules: Paths_xmonad
|
||||||
hs-source-dirs: src
|
hs-source-dirs: src
|
||||||
build-depends: base >= 4.9 && < 5
|
build-depends: base >= 4.11 && < 5
|
||||||
, X11 >= 1.10 && < 1.11
|
, X11 >= 1.10 && < 1.11
|
||||||
, containers
|
, containers
|
||||||
, data-default-class
|
, data-default-class
|
||||||
|
Reference in New Issue
Block a user