From 5bc0535994b6a6e06cb565d2d76214caa1221a94 Mon Sep 17 00:00:00 2001 From: Martijn Govers Date: Wed, 5 Jun 2024 10:10:07 +0200 Subject: [PATCH 1/3] temporarily add DCO check Signed-off-by: Martijn Govers --- .github/workflows/dco-check.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/dco-check.yml diff --git a/.github/workflows/dco-check.yml b/.github/workflows/dco-check.yml new file mode 100644 index 000000000..ad4c033a7 --- /dev/null +++ b/.github/workflows/dco-check.yml @@ -0,0 +1,32 @@ +# SPDX-FileCopyrightText: Contributors to the Power Grid Model project +# +# SPDX-License-Identifier: MPL-2.0 + +name: Check DCO + +on: + pull_request: + push: + branches: + - main + +jobs: + dco: + name: DCO + runs-on: ubuntu-latest + if: ${{ github.actor != 'dependabot[bot]' }} + steps: + - uses: actions/checkout@v4 + + - name: Setup python + uses: actions/setup-python@v5 + with: + python-version: '3.10' + architecture: x64 + + - name: Check DCO + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + pip install dco-check + dco-check --verbose From 16743abce5a759e4975f6103580e937af7f27208 Mon Sep 17 00:00:00 2001 From: Martijn Govers Date: Wed, 5 Jun 2024 10:11:57 +0200 Subject: [PATCH 2/3] add issue Signed-off-by: Martijn Govers --- .github/workflows/dco-check.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/dco-check.yml b/.github/workflows/dco-check.yml index ad4c033a7..9a4e70006 100644 --- a/.github/workflows/dco-check.yml +++ b/.github/workflows/dco-check.yml @@ -3,6 +3,7 @@ # SPDX-License-Identifier: MPL-2.0 name: Check DCO +# Workaround because DCO plugin is stuck. See https://github.com/dcoapp/app/issues/211 on: pull_request: From 79c9b90509d7fbb9a960ec3d8d879a28327e702b Mon Sep 17 00:00:00 2001 From: Martijn Govers Date: Wed, 5 Jun 2024 14:05:33 +0200 Subject: [PATCH 3/3] temporarily remove clang cl from CI Signed-off-by: Martijn Govers --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5d6664e4f..568746955 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -100,7 +100,7 @@ jobs: strategy: matrix: build-option: [ debug, release ] - compiler: [msvc, clang-cl] + compiler: [msvc] # , clang-cl] TODO(mgovers): reenable Clang CL when https://github.com/actions/runner-images/issues/10001 is fixed env: PRESET: ${{ matrix.compiler }}-${{ matrix.build-option }}