Skip to content

Merge pull request #2 from dinkelk/dockerfile #19

Merge pull request #2 from dinkelk/dockerfile

Merge pull request #2 from dinkelk/dockerfile #19

Workflow file for this run

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()