Simplify logging by sending all logs to stdout #43
Workflow file for this run
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
name: Haskell CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install Stack | |
run: | | |
mkdir -p ~/.local/bin | |
curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack' | |
- name: Install Stack GHC | |
run: ~/.local/bin/stack setup | |
- name: Install dependencies | |
run: ~/.local/bin/stack build --only-dependencies | |
- name: Test | |
run: ~/.local/bin/stack test | |
- name: Copy binary to .github | |
run: find .stack-work -name mat-chalmers -type f -exec mv '{}' .github/mat-chalmers-linux-x86_64 ';' | |
- uses: actions/upload-artifact@master | |
if: "github.ref == 'refs/heads/master'" | |
with: | |
name: mat-chalmers | |
path: .github/mat-chalmers-linux-x86_64 |