Skip to content

Commit

Permalink
Add description to each CI step
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Nov 30, 2023
1 parent 836f1ed commit 671fff5
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ jobs:
strategy:
matrix:
ghc: ['8.8', '8.10']

steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -27,10 +26,15 @@ jobs:
dist-newstyle
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('**/*.cabal', '**/cabal.project', '**/cabal.project.freeze') }}
restore-keys: ${{ runner.os }}-${{ matrix.ghc }}-
- run: cabal update
- run: cabal configure --enable-tests
- run: cabal build all --only-dependencies
- run: cabal build all
- run: cabal test all
- name: Update packages list
run: cabal update
- name: Configure project
run: cabal configure --enable-tests
- name: Install dependencies
run: cabal build all --only-dependencies
- name: Compile project
run: cabal build all
- name: Run tests
run: cabal test all
env:
ROLLBAR_TOKEN: ${{ secrets.ROLLBAR_TOKEN }}

0 comments on commit 671fff5

Please sign in to comment.