Update LICENSE #20
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: Compile and Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
compile_job: | |
name: compile_and_test | |
runs-on: ubuntu-latest | |
steps: | |
- run: echo "π The job was automatically triggered by a ${{ github.event_name }} event." | |
- run: echo "π§ This job is now running on a ${{ runner.os }} server hosted by GitHub!" | |
- run: echo "π The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- run: echo "π‘ The ${{ github.repository }} repository has been cloned to the runner." | |
- run: echo "π₯οΈ The workflow is now ready to test your code on the runner." | |
- name: List files in the repository | |
run: | | |
ls ${{ github.workspace }} | |
- uses: haskell-actions/setup@v2 | |
with: | |
# ghc-version: '8.8.4' # Exact version of ghc to use | |
# cabal-version: 'latest'. Omitted, but defaults to 'latest' | |
enable-stack: true | |
stack-version: 'latest' | |
- run: ${{ github.workspace }}/do | |
- run: PATH=$PATH:${{ github.workspace }}/bin redo test/all | |
- name: Archive redo binaries | |
uses: actions/upload-artifact@v3 | |
with: | |
name: redo_bin | |
path: ${{ github.workspace }}/bin | |
if-no-files-found: ignore | |
- run: echo "π This job's status is ${{ job.status }}." | |
if: always() |