Skip to content

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

Draft
zchn wants to merge 1 commit into
masterfrom
openhands-fix-issue-11-try3
Draft

Fix issue #11: Use haskell-actions/setup instead of haskell/action/setup#14
zchn wants to merge 1 commit into
masterfrom
openhands-fix-issue-11-try3

Conversation

@zchn

@zchn zchn commented Jan 22, 2025

Copy link
Copy Markdown
Owner

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 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use haskell-actions/setup instead of haskell/action/setup

2 participants