File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ docspec: True
1313-- Build haddocks. Accepts booleans or version range.
1414haddock: True
1515
16+ weeder: >= 9.4 && < 9.8
17+ 
1618-- Build benchmarks. There are no way to run benchmarks. Accepts booleans or version range.
1719-- Swarm has benchmarks so at least build them :)
1820benchmarks: True
Original file line number Diff line number Diff line change @@ -221,13 +221,6 @@ jobs:
221221       - name : build 
222222        run : | 
223223          $CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH all --write-ghc-environment-files=always 
224-        - name : weeder 
225-         if : matrix.compilerVersion == '9.6.5' 
226-         uses : freckle/weeder-action@v2 
227-         with :
228-           ghc-version : ${{ matrix.compilerVersion }} 
229-           weeder-arguments : --config $GITHUB_WORKSPACE/source/weeder.toml 
230-           working-directory : ${{ env.PKGDIR_swarm }} 
231224       - name : tests 
232225        run : | 
233226          $CABAL v2-test $ARG_COMPILER $ARG_TESTS $ARG_BENCH all --test-show-details=direct 
@@ -242,6 +235,13 @@ jobs:
242235       - name : haddock 
243236        run : | 
244237          $CABAL v2-haddock --disable-documentation --haddock-all $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all 
238+        - name : " weeder: swarm" 
239+         uses : freckle/weeder-action@v2 
240+         if : ${{ env.HCNUMVER >= 90400 && env.HCNUMVER < 90800 }} 
241+         with :
242+           ghc-version : ${{ matrix.compilerVersion }} 
243+           weeder-arguments : --config $GITHUB_WORKSPACE/source/weeder.toml 
244+           working-directory : ${{ env.PKGDIR_swarm }} 
245245      - name : save cache 
246246        uses : actions/cache/save@v4 
247247        if : always() 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments