Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/cabal.haskell-ci
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ docspec: True
-- Build haddocks. Accepts booleans or version range.
haddock: True

weeder: >= 9.4 && < 9.8

-- Build benchmarks. There are no way to run benchmarks. Accepts booleans or version range.
-- Swarm has benchmarks so at least build them :)
benchmarks: True
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,13 +221,6 @@ jobs:
- name: build
run: |
$CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH all --write-ghc-environment-files=always
- name: weeder
if: matrix.compilerVersion == '9.6.5'
uses: freckle/weeder-action@v2
with:
ghc-version: ${{ matrix.compilerVersion }}
weeder-arguments: --config $GITHUB_WORKSPACE/source/weeder.toml
working-directory: ${{ env.PKGDIR_swarm }}
- name: tests
run: |
$CABAL v2-test $ARG_COMPILER $ARG_TESTS $ARG_BENCH all --test-show-details=direct
Expand All @@ -242,6 +235,13 @@ jobs:
- name: haddock
run: |
$CABAL v2-haddock --disable-documentation --haddock-all $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all
- name: "weeder: swarm"
uses: freckle/weeder-action@v2
if: ${{ env.HCNUMVER >= 90400 && env.HCNUMVER < 90800 }}
with:
ghc-version: ${{ matrix.compilerVersion }}
weeder-arguments: --config $GITHUB_WORKSPACE/source/weeder.toml
working-directory: ${{ env.PKGDIR_swarm }}
- name: save cache
uses: actions/cache/save@v4
if: always()
Expand Down
2 changes: 1 addition & 1 deletion src/swarm-engine/Swarm/Game/Robot/Concrete.hs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
-- |
-- SPDX-License-Identifier: BSD-3-Clause
--
-- Support for instantiated robots.
-- Support for instantiated bots.
module Swarm.Game.Robot.Concrete (
-- * Lenses
machine,
Expand Down