From 4ff545bb6b58d0955d41c11f6381d1b43eb82b3f Mon Sep 17 00:00:00 2001 From: Matvey Aksenov Date: Mon, 13 Jun 2022 17:04:46 +0000 Subject: [PATCH] experiments --- .github/workflows/ci.yml | 19 +++++++++++++++++++ README.markdown | 1 + 2 files changed, 20 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..cbd9754 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,19 @@ +name: ci +on: + workflow_dispatch: + pull_request: + push: + branches: [master] + +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: haskell/actions/setup@v2 + with: + ghc-version: '8.10' + enable-stack: true + stack-version: 'latest' + - run: stack test diff --git a/README.markdown b/README.markdown index 340255c..236e156 100644 --- a/README.markdown +++ b/README.markdown @@ -1,5 +1,6 @@ envparse ======== +[![Build status](https://github.com/supki/envparse/actions/workflows/ci.yml/badge.svg)](https://github.com/supki/envparse/actions/workflows/ci.yml) [optparse-applicative][0], but for environment variables