This is an automated email from the ASF dual-hosted git repository. hepin pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/incubator-pekko-persistence-dynamodb.git
commit e3d3580da8235e0becef31ec81542fe56e9a6215 Author: Matthew de Detrich <[email protected]> AuthorDate: Tue Apr 4 13:51:05 2023 +0200 Split header check into its own GitHub workflow --- .github/workflows/check-build-test.yml | 2 +- .github/workflows/headers.yml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-build-test.yml b/.github/workflows/check-build-test.yml index a54040c..e2531f9 100644 --- a/.github/workflows/check-build-test.yml +++ b/.github/workflows/check-build-test.yml @@ -40,7 +40,7 @@ jobs: uses: coursier/[email protected] - name: Compile all code with default compiler - run: sbt "headerCheckAll; Test/compile" + run: sbt "Test/compile" test: name: Build and Test diff --git a/.github/workflows/headers.yml b/.github/workflows/headers.yml new file mode 100644 index 0000000..2559d2e --- /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]
