Skip to Content

- name: Setup Haskell uses: actions/setup-haskell@v2 with: haskell-version: '8.10'

name: Upload to Hackage

Here's a simple example of how you might create a GitHub Actions workflow to upload a Haskell package to Hackage:

on: push: branches: - main

I'm assuming you're looking for a piece of code related to Hackage (not "hacoo") and GitHub. Hackage is a package repository for the Haskell programming language.

- name: Build and test run: | cabal v2-update cabal v2-configure cabal v2-build cabal v2-test

Author Profile Photo

Emily Arseneau

Emily is the Digital Content Director for KRDO NewsChannel 13 Learn more about her here.

BE PART OF THE CONVERSATION

KRDO NewsChannel 13 is committed to providing a forum for civil and constructive conversation.

Please keep your comments respectful and relevant. You can review our Community Guidelines by clicking here

If you would like to share a story idea, please submit it here.