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.git
The following commit(s) were added to refs/heads/main by this push:
new 95dd813ae Split header check into its own GitHub workflow
95dd813ae is described below
commit 95dd813ae36679cee8c4c9a6521ab4b41b5e4085
Author: Matthew de Detrich <[email protected]>
AuthorDate: Tue Apr 4 13:09:31 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 eda2a04eb..22c7315fd 100644
--- a/.github/workflows/check-build-test.yml
+++ b/.github/workflows/check-build-test.yml
@@ -41,8 +41,8 @@ jobs:
uses: coursier/[email protected]
# temporarily remove mima checks
- - name: "Code style, compile tests, MiMa. Run locally with: sbt +~2.13
\"headerCheckAll; verifyCodeFmt; Test/compile; mimaReportBinaryIssues\""
- run: sbt "headerCheckAll; verifyCodeFmt; +Test/compile"
+ - name: "Code style, compile tests, MiMa. Run locally with: sbt +~2.13
\"verifyCodeFmt; Test/compile; mimaReportBinaryIssues\""
+ run: sbt "verifyCodeFmt; +Test/compile"
documentation:
name: ScalaDoc, Documentation with Paradox
diff --git a/.github/workflows/headers.yml b/.github/workflows/headers.yml
new file mode 100644
index 000000000..6eda4f3a3
--- /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 8
+ uses: actions/setup-java@v3
+ with:
+ distribution: temurin
+ java-version: 8
+
+ - 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]