ethereum-analyzer icon indicating copy to clipboard operation
ethereum-analyzer copied to clipboard

Fix issue #11: Use haskell-actions/setup instead of haskell/action/setup

Open zchn opened this issue 11 months ago • 0 comments

This pull request fixes #11.

The issue has been successfully resolved based on the following changes and their impact:

  1. The GitHub Actions workflow files (.github/workflows/examples-test.yml and stack-build.yml) have been updated to replace haskell/actions/setup with haskell-actions/setup@v2, which directly addresses the deprecation warning.

  2. The stack.yaml configuration has been significantly updated to support the build with newer package versions:

  • Updated resolver from lts-8.24 to lts-12.26
  • Updated logging-effect from 1.1.1 to 1.3.12
  • Added several new dependencies (hexstring, hflags, hoopl, prometheus-metrics-ghc)
  • Added allow-newer and system-ghc flags to ensure compatibility
  • Added stack.yaml.lock file for dependency version locking

These changes comprehensively address both requirements:

  1. The deprecated GitHub action has been replaced with the recommended alternative
  2. The build system has been modernized with updated dependencies and resolver to ensure successful builds

The changes are focused on configuration updates rather than source code modifications, which was the preferred approach specified in the issue description. The presence of the lock file also indicates that the dependencies have been successfully resolved.

Automatic fix generated by OpenHands 🙌

zchn avatar Jan 22 '25 02:01 zchn