Skip to content

Commit

Permalink
updated: switch to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
GianlucaGuarini committed Aug 18, 2023
1 parent 585a456 commit 1e4f2ef
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 32 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: ci
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: haskell/actions/setup@v1
with:
ghc-version: "9.4.5"
enable-stack: true
stack-version: "latest"
- uses: actions/cache@v2
name: Cache ~/.stack ~/.cabal
with:
path: |
~/.stack
~/.cabal
key: ${{ runner.os }}-store-${{ hashFiles('stack.yaml.lock') }}-${{ hashFiles('fortytwo.cabal') }}
- name: Build
run: make build
- name: Test
run: make test
27 changes: 0 additions & 27 deletions .travis.yml

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

_Interactive terminal prompt_

[![Build Status][travis-image]][travis-url]
[![Build Status][ci-image]][ci-url]
[![MIT License][license-image]][license-url]

![fortytwo](https://github.com/GianlucaGuarini/fortytwo/raw/develop/fortytwo.jpg)
Expand Down Expand Up @@ -117,8 +117,8 @@ main = multiselectWithDefault

This script is heavily inspired by [survey (golang)](https://github.com/AlecAivazis/survey)

[travis-image]:https://img.shields.io/travis/GianlucaGuarini/fortytwo.svg?style=flat-square
[travis-url]:https://travis-ci.org/GianlucaGuarini/fortytwo
[ci-image]: https://img.shields.io/github/actions/workflow/status/GianlucaGuarini/fortytwo/ci.yml?style=flat-square
[ci-url]: https://github.com/GianlucaGuarini/fortytwo/actions

[license-image]:http://img.shields.io/badge/license-MIT-000000.svg?style=flat-square
[license-url]:LICENSE
4 changes: 2 additions & 2 deletions fortytwo.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ synopsis: Interactive terminal prompt
description: List of Prompt helpers to pimp the UIs of your haskell programs
homepage: https://github.com/gianlucaguarini/fortytwo#readme
license: MIT
license-file: LICENSE
license-file: LICENSE
author: Gianluca Guarini
maintainer: gianluca.guarini@gmail.com
copyright: Gianlua Guarini
copyright: Gianluca Guarini
category: Prompt
build-type: Simple
extra-source-files: README.md
Expand Down

0 comments on commit 1e4f2ef

Please sign in to comment.