Skip to content

Commit

Permalink
experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
kostmo committed Jul 17, 2024
1 parent 740ca79 commit 630efee
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,10 @@ jobs:
- name: build
run: |
$CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH all --write-ghc-environment-files=always
- name: Weeder
uses: freckle/weeder-action@v2
with:
ghc-version: ${{ matrix.compilerVersion }}
- name: tests
run: |
$CABAL v2-test $ARG_COMPILER $ARG_TESTS $ARG_BENCH all --test-show-details=direct
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/weeder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@ on:
branches:
- main
jobs:
gild:
weeder:
name: Weeder
runs-on: ubuntu-22.04
runs-on: ubuntu-20.04
timeout-minutes:
60
container:
image: buildpack-deps:jammy
strategy:
matrix:
include:
Expand All @@ -26,6 +30,12 @@ jobs:
allow-failure: false
steps:
- uses: actions/checkout@v4
- name: restore cache
uses: actions/cache/restore@v4
with:
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
path: ~/.cabal/store
restore-keys: ${{ runner.os }}-${{ matrix.compiler }}-
- run: |
echo "Current dir:"
pwd
Expand Down

0 comments on commit 630efee

Please sign in to comment.