mirror of
https://github.com/swarm-game/swarm.git
synced 2024-08-18 02:50:26 +03:00
096816133f
Make sure Swarm builds with the most recent versions of dependencies. The only one that is still lagging is `filepath`, but `servant` doesn't support `filepath-1.5` so Swarm can't either. The only real update needed was due to some breaking changes in `aeson-2.2`, but the necessary changes were very minor. Also fixed a few places where GHC 9.8 is generating additional warnings. Also update our CI: `haskell-ci` recently dropped support for `hlint`, in favor of projects defining their own standalone `hlint` workflows.
71 lines
1.8 KiB
YAML
71 lines
1.8 KiB
YAML
queue_rules:
|
|
- name: default
|
|
conditions:
|
|
- or:
|
|
- and:
|
|
- -files~=\.hs$
|
|
- -files~=\.sw$
|
|
- -files~=\.cabal$
|
|
- -files=stack.yaml
|
|
- -files~=cabal.project.*
|
|
- -files~=^[^/]*\.yaml$
|
|
- -files~=^data/.*\.yaml$
|
|
- and:
|
|
- or:
|
|
- check-success=Enforce issue references
|
|
- -files~=\.hs$
|
|
- or:
|
|
- check-success=Normalize cabal
|
|
- -files~=\.cabal$
|
|
- or:
|
|
- check-success=HLint
|
|
- -files~=\.hs$
|
|
- check-success=Haskell-CI - Linux - ghc-9.8.2
|
|
- check-success=Haskell-CI - Linux - ghc-9.6.5
|
|
- check-success=Haskell-CI - Linux - ghc-9.4.8
|
|
- check-success=Haskell-CI - Linux - ghc-9.2.8
|
|
|
|
pull_request_rules:
|
|
- actions:
|
|
queue:
|
|
name: default
|
|
method: squash
|
|
commit_message_template: |
|
|
{{ title }} (#{{ number }})
|
|
|
|
{{ body }}
|
|
|
|
name: Automatically merge pull requests
|
|
conditions:
|
|
- or:
|
|
- and:
|
|
- -files~=\.hs$
|
|
- -files~=\.sw$
|
|
- -files~=\.cabal$
|
|
- -files=stack.yaml
|
|
- -files~=cabal.project.*
|
|
- -files~=^[^/]*\.yaml$
|
|
- -files~=^data/.*\.yaml$
|
|
- and:
|
|
- or:
|
|
- check-success=Enforce issue references
|
|
- -files~=\.hs$
|
|
- or:
|
|
- check-success=Normalize cabal
|
|
- -files~=\.cabal$
|
|
- or:
|
|
- check-success=HLint
|
|
- -files~=\.hs$
|
|
- check-success=Haskell-CI - Linux - ghc-9.8.2
|
|
- check-success=Haskell-CI - Linux - ghc-9.6.5
|
|
- check-success=Haskell-CI - Linux - ghc-9.4.8
|
|
- check-success=Haskell-CI - Linux - ghc-9.2.8
|
|
- label=merge me
|
|
- ! '#approved-reviews-by>=1'
|
|
- ! '#changes-requested-reviews-by=0'
|
|
- actions:
|
|
delete_head_branch: {}
|
|
name: Delete head branch after merge
|
|
conditions:
|
|
- merged
|