From 53c8d4d4d4513eb3ef637b8a008527cf1e5b230d Mon Sep 17 00:00:00 2001 From: Jelle Meeus Date: Tue, 18 Jun 2024 08:26:13 +0200 Subject: [PATCH 1/2] run codestyle on every branch, run build only on master --- .github/workflows/core-build.yml | 4 ++++ .github/workflows/core_codestyle.yml | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/core-build.yml b/.github/workflows/core-build.yml index a178aed..aad248b 100644 --- a/.github/workflows/core-build.yml +++ b/.github/workflows/core-build.yml @@ -1,7 +1,11 @@ name: core-build on: push: + branches: + - 'master' pull_request: + branches: + - 'master' workflow_dispatch: jobs: diff --git a/.github/workflows/core_codestyle.yml b/.github/workflows/core_codestyle.yml index 3f9a73e..1fb4cbc 100644 --- a/.github/workflows/core_codestyle.yml +++ b/.github/workflows/core_codestyle.yml @@ -1,9 +1,7 @@ name: Codestyle Checks on: push: - branches: [ master ] pull_request: - branches: [ master ] jobs: check-codestyle: From ef07b49f643331c9a61bc13a08982f9d1678a2ec Mon Sep 17 00:00:00 2001 From: Jelle Meeus Date: Tue, 18 Jun 2024 08:26:23 +0200 Subject: [PATCH 2/2] remove whitelines --- .github/workflows/core_codestyle.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/core_codestyle.yml b/.github/workflows/core_codestyle.yml index 1fb4cbc..c6573bb 100644 --- a/.github/workflows/core_codestyle.yml +++ b/.github/workflows/core_codestyle.yml @@ -7,11 +7,9 @@ jobs: check-codestyle: strategy: fail-fast: false - runs-on: ubuntu-latest name: Check Codestyling steps: - uses: actions/checkout@v2 - - name: Check Codestyling run: source ./apps/ci/ci-codestyle.sh