This is an automated email from the ASF dual-hosted git repository.
mdedetrich pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-pekko-connectors-kafka.git
The following commit(s) were added to refs/heads/main by this push:
new 8ea4ac8a Split header check into its own GitHub workflow
8ea4ac8a is described below
commit 8ea4ac8a44d206f17bc9eb874b2a8ac5403f9001
Author: Matthew de Detrich <[email protected]>
AuthorDate: Tue Apr 4 13:16:36 2023 +0200
Split header check into its own GitHub workflow
---
.github/workflows/check-build-test.yml | 4 ++--
.github/workflows/headers.yml | 30 ++++++++++++++++++++++++++++++
2 files changed, 32 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/check-build-test.yml
b/.github/workflows/check-build-test.yml
index e61c6442..affcdfcd 100644
--- a/.github/workflows/check-build-test.yml
+++ b/.github/workflows/check-build-test.yml
@@ -45,8 +45,8 @@ jobs:
uses: coursier/cache-action@v6
- name: Code style check and binary-compatibility check
- # Run locally with: sbt 'headerCheckAll; verifyCodeFmt;
mimaReportBinaryIssues'
- run: sbt "; headerCheckAll; verifyCodeFmt; mimaReportBinaryIssues"
+ # Run locally with: sbt 'verifyCodeFmt; mimaReportBinaryIssues'
+ run: sbt "verifyCodeFmt; mimaReportBinaryIssues"
check-code-compilation:
name: Check Code Compilation
diff --git a/.github/workflows/headers.yml b/.github/workflows/headers.yml
new file mode 100644
index 00000000..2559d2e9
--- /dev/null
+++ b/.github/workflows/headers.yml
@@ -0,0 +1,30 @@
+name: Headers
+
+on:
+ pull_request:
+
+permissions: {}
+
+jobs:
+ check-headers:
+ name: Check headers
+ runs-on: ubuntu-20.04
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+
+ - name: Setup Java 11
+ uses: actions/setup-java@v3
+ with:
+ distribution: temurin
+ java-version: 11
+
+ - name: Cache Coursier cache
+ uses: coursier/[email protected]
+
+ - name: Check headers
+ run: |-
+ sbt \
+ -Dsbt.override.build.repos=false \
+ -Dsbt.log.noformat=false \
+ +headerCheckAll
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]