Fix metrics #296
ghc.yml
on: pull_request
Run static checks
9s
Matrix: Run pipeline
Build and upload site (master)
0s
Annotations
4 errors and 4 warnings
Run pipeline (ubuntu-latest)
Error: The process '/usr/local/bin/stack' failed with exit code 1
|
Run pipeline (ubuntu-latest)
The process '/usr/local/bin/stack' failed with exit code 1
|
Run pipeline (macos-latest)
Error: The process '/Users/runner/.ghcup/bin/stack' failed with exit code 1
|
Run pipeline (macos-latest)
The process '/Users/runner/.ghcup/bin/stack' failed with exit code 1
|
Run static checks:
eo-phi-normalizer/src/Language/EO/Phi/Normalize.hs#L3
Warning in module Language.EO.Phi.Normalize: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE OverloadedLabels #-}"
|
Run static checks:
eo-phi-normalizer/src/Language/EO/Phi/Rules/Yaml.hs#L303
Warning in evaluateMetaFuncs' in module Language.EO.Phi.Rules.Yaml: Redundant pure ▫︎ Found: "do res <- gets (Common.intToBytesObject . nuCount)\n pure res" ▫︎ Perhaps: "do gets (Common.intToBytesObject . nuCount)"
|
Run static checks:
eo-phi-normalizer/test/Language/EO/Rules/PhiPaperSpec.hs#L4
Warning in module Language.EO.Rules.PhiPaperSpec: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE LambdaCase #-}"
|
Run static checks:
eo-phi-normalizer/test/Language/EO/Rules/PhiPaperSpec.hs#L234
Suggestion in confluent in module Language.EO.Rules.PhiPaperSpec: Use underscore ▫︎ Found: "1000" ▫︎ Perhaps: "1_000"
|