summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2025-03-31 21:07:44 +0100
committerjao <jao@gnu.org>2025-03-31 21:07:44 +0100
commit05c0a5dead451c8e5b43c9542d97e7cee5e618fa (patch)
tree9e69e02bcc08fcb185386976970a4b5b16f8db7f
parent098bffb703f6a7cbf3e215bd8325f825ae34896e (diff)
downloadxmobar-05c0a5dead451c8e5b43c9542d97e7cee5e618fa.tar.gz
xmobar-05c0a5dead451c8e5b43c9542d97e7cee5e618fa.tar.bz2
forgejo syntax fixes
-rw-r--r--.forgejo/workflows/test.yml39
1 files changed, 22 insertions, 17 deletions
diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml
index ab8891e..3c0264a 100644
--- a/.forgejo/workflows/test.yml
+++ b/.forgejo/workflows/test.yml
@@ -1,23 +1,28 @@
-on: [push, pull_request]
+on:
+ pull_request:
+ branches:
+ - 'master'
+ - 'forgejo'
jobs:
- test:
+ actions:
strategy:
matrix:
- GHC_VERSION:
- - 9.6
- - 9.4
- - 8
- steps:
- image: haskell:${{ matrix.GHC_VERSION }}
- commands:
- - 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
+ - version: [9.6, 9.4, 8]
- - hlint src
+ image: haskell:${{ matrix.version }}
- - cabal update
- - cabal test --enable-tests -fall_extensions
- - cabal test --enable-tests -fall_extensions -f-with_xrender
+ steps:
+ - name: apt
+ 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
+ run: |
+ cabal update
+ cabal test --enable-tests -fall_extensions
+ cabal test --enable-tests -fall_extensions -f-with_xrender