diff options
author | jao <jao@gnu.org> | 2025-03-31 21:31:48 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2025-03-31 21:31:48 +0100 |
commit | 13c9aa06532aaec73bce36b345d004f53b9cb661 (patch) | |
tree | b213264e237402bf89b01c135160f615c66ed5e6 | |
parent | d25e94b506a561d117b75fcee0aed03232beae20 (diff) | |
download | xmobar-13c9aa06532aaec73bce36b345d004f53b9cb661.tar.gz xmobar-13c9aa06532aaec73bce36b345d004f53b9cb661.tar.bz2 |
forgejo actions updates
-rw-r--r-- | .forgejo/workflows/test.yml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 1948fe4..f67eda7 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -1,5 +1,6 @@ on: pull_request: + types: [opened, synchronize, reopened] push: branches: @@ -11,18 +12,20 @@ jobs: matrix: - version: [9.6, 9.4, 8] - image: haskell:${{ matrix.version }} + runs-on: docker + container: + image: haskell:${{ matrix.version }} steps: - - name: apt + - name: apt ${{ matrix.version }} run: | apt-get update apt-get install -y xorg-dev libxrandr-dev libpango1.0-dev apt-get install -y libasound2-dev libxpm-dev libmpd-dev apt-get install -y hspec-discover hlint - - name: hlint - run: hlint src - - name: cabal tests + - name: hlint ${{ matrix.version }} + run: hlint ./src + - name: cabal tests ${{ matrix.version }} run: | cabal update cabal test --enable-tests -fall_extensions |