forked from kowainik/learn4haskell
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1752928
Showing
10 changed files
with
646 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @chshersh @vrom911 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: CI | ||
|
||
# Trigger the workflow on push or pull request, but only for the master branch | ||
on: | ||
pull_request: | ||
push: | ||
branches: [master] | ||
|
||
jobs: | ||
build: | ||
name: ghc ${{ matrix.ghc }} | ||
runs-on: ubuntu-16.04 | ||
strategy: | ||
matrix: | ||
cabal: ["2.4"] | ||
ghc: | ||
- "8.10.1" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master' | ||
|
||
- uses: actions/setup-haskell@v1 | ||
name: Setup Haskell | ||
with: | ||
ghc-version: ${{ matrix.ghc }} | ||
cabal-version: ${{ matrix.cabal }} | ||
|
||
- uses: actions/cache@v1 | ||
name: Cache ~/.cabal/store | ||
with: | ||
path: ~/.cabal/store | ||
key: ${{ runner.os }}-${{ matrix.ghc }}-cabal | ||
|
||
- name: Build | ||
run: | | ||
cabal v2-update | ||
cabal v2-build --enable-tests --enable-benchmarks | ||
- name: Test | ||
run: | | ||
cabal v2-test --enable-tests --test-show-details=direct |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
### Haskell | ||
dist | ||
dist-* | ||
cabal-dev | ||
*.o | ||
*.hi | ||
*.chi | ||
*.chs.h | ||
*.dyn_o | ||
*.dyn_hi | ||
*.prof | ||
*.aux | ||
*.hp | ||
*.eventlog | ||
.virtualenv | ||
.hsenv | ||
.hpc | ||
.cabal-sandbox/ | ||
cabal.sandbox.config | ||
cabal.config | ||
cabal.project.local | ||
.ghc.environment.* | ||
.HTF/ | ||
.hie/ | ||
# Stack | ||
.stack-work/ | ||
stack.yaml.lock | ||
|
||
### IDE/support | ||
# Vim | ||
[._]*.s[a-v][a-z] | ||
[._]*.sw[a-p] | ||
[._]s[a-v][a-z] | ||
[._]sw[a-p] | ||
*~ | ||
tags | ||
|
||
# IntellijIDEA | ||
.idea/ | ||
.ideaHaskellLib/ | ||
*.iml | ||
|
||
# Atom | ||
.haskell-ghc-mod.json | ||
|
||
# VS | ||
.vscode/ | ||
|
||
# Emacs | ||
*# | ||
.dir-locals.el | ||
TAGS | ||
|
||
# other | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
steps: | ||
- simple_align: | ||
cases: true | ||
top_level_patterns: true | ||
records: true | ||
|
||
# Import cleanup | ||
- imports: | ||
align: none | ||
list_align: after_alias | ||
pad_module_names: false | ||
long_list_align: inline | ||
empty_list_align: inherit | ||
list_padding: 4 | ||
separate_lists: true | ||
space_surround: false | ||
|
||
- language_pragmas: | ||
style: vertical | ||
remove_redundant: true | ||
|
||
# Remove trailing whitespace | ||
- trailing_whitespace: {} | ||
|
||
columns: 100 | ||
|
||
newline: native | ||
|
||
language_extensions: | ||
- BangPatterns | ||
- ConstraintKinds | ||
- DataKinds | ||
- DefaultSignatures | ||
- DeriveAnyClass | ||
- DeriveDataTypeable | ||
- DeriveGeneric | ||
- DerivingStrategies | ||
- DerivingVia | ||
- ExplicitNamespaces | ||
- FlexibleContexts | ||
- FlexibleInstances | ||
- FunctionalDependencies | ||
- GADTs | ||
- GeneralizedNewtypeDeriving | ||
- InstanceSigs | ||
- KindSignatures | ||
- LambdaCase | ||
- MultiParamTypeClasses | ||
- MultiWayIf | ||
- NamedFieldPuns | ||
- NoImplicitPrelude | ||
- OverloadedStrings | ||
- QuasiQuotes | ||
- RecordWildCards | ||
- ScopedTypeVariables | ||
- StandaloneDeriving | ||
- TemplateHaskell | ||
- TupleSections | ||
- TypeApplications | ||
- TypeFamilies | ||
- ViewPatterns |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Changelog | ||
|
||
`learn4haskell` uses [PVP Versioning][1]. | ||
The changelog is available [on GitHub][2]. | ||
|
||
## 0.0.0.0 | ||
|
||
* Initially created. | ||
|
||
[1]: https://pvp.haskell.org | ||
[2]: https://github.com/kowainik/learn4haskell/releases |
Oops, something went wrong.