Skip to content

Commit

Permalink
updating github action
Browse files Browse the repository at this point in the history
  • Loading branch information
dinkelk committed Jan 23, 2024
1 parent 3db7f4b commit 29e3a25
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ name: Compile and Test
on:
push:
branches:
- master
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
compile_job:
Expand All @@ -19,12 +22,19 @@ jobs:
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- uses: haskell/actions/setup@v2
- uses: haskell-actions/setup@v2
with:
#ghc-version: '8.8.4' # Exact version of ghc to use
# 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()

0 comments on commit 29e3a25

Please sign in to comment.