From a3c71d2fad26844a1b3ca6cd3931a9e01cb28f6b Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 1 Dec 2021 21:09:21 -1000 Subject: [PATCH] ci: mac, windows: build on any push to these branches --- .github/workflows/mac.yml | 25 +------------------------ .github/workflows/windows.yml | 25 +------------------------ 2 files changed, 2 insertions(+), 48 deletions(-) diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index 492c21df5..a262638a4 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -1,4 +1,4 @@ -# Runs on notable pushes to ci-mac, and weekly on master. +# Runs on any push to ci-mac, and weekly on master. # Builds all modules optimised and runs unit/doc/functional tests on mac, # using GHC 8.6, @@ -9,31 +9,8 @@ name: mac CI on: schedule: - cron: "0 07 * * 0" # sunday midnight pacific - push: branches: [ ci-mac ] - paths: - - '.github/workflows/mac.yml' - - 'stack*.yaml' - - 'hledger-lib/**' - - 'hledger/**' - - 'hledger-ui/**' - - 'hledger-web/**' - - 'bin/*.hs' - # ignore changes to example files, though currently some func tests depend on them - - 'examples/**' - - '!**.journal' - - '!**.j' - - '!**.ledger' - - '!**.csv' - # ignore changes to doc source files - - '!**.m4' - - '!**.md' - - '!**.1' - - '!**.5' - - '!**.info' - - '!**.txt' - workflow_dispatch: jobs: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index f863d3835..1b4637bbf 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -1,4 +1,4 @@ -# Runs on notable pushes to ci-windows, and weekly on master. +# Runs on any push to ci-windows, and weekly on master. # Builds all modules optimised on windows, # and uploads a binaries artifact. @@ -8,31 +8,8 @@ name: windows CI on: schedule: - cron: "0 07 * * 0" # sunday midnight pacific - push: branches: [ ci-windows ] - paths: - - '.github/workflows/windows.yml' - - 'stack*.yaml' - - 'hledger-lib/**' - - 'hledger/**' - - 'hledger-ui/**' - - 'hledger-web/**' - # - 'bin/*.hs' - # ignore changes to example files, though currently some func tests depend on them - - 'examples/**' - - '!**.journal' - - '!**.j' - - '!**.ledger' - - '!**.csv' - # ignore changes to doc source files - - '!**.m4' - - '!**.md' - - '!**.1' - - '!**.5' - - '!**.info' - - '!**.txt' - workflow_dispatch: