From 7970eae27e50b3a1b40528f47c40a39dd0cdcb6b Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Tue, 17 Dec 2024 16:59:24 -0800 Subject: [PATCH 1/2] add standard Scala CLA checker --- .github/workflows/cla.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/cla.yml diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml new file mode 100644 index 00000000..3549dedc --- /dev/null +++ b/.github/workflows/cla.yml @@ -0,0 +1,11 @@ +name: "Check Scala CLA" +on: + pull_request: +jobs: + cla-check: + runs-on: ubuntu-latest + steps: + - name: Verify CLA + uses: scala/cla-checker@v1 + with: + author: ${{ github.event.pull_request.user.login }} From 8385051ed42deb37c29fc7da3c1a0b1b7ee42c9d Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Tue, 17 Dec 2024 17:00:48 -0800 Subject: [PATCH 2/2] ubuntu-latest no longer has sbt --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 29ac2792..47e61622 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,6 +24,7 @@ jobs: with: distribution: temurin java-version: ${{matrix.java}} + - uses: sbt/setup-sbt@v1 - name: Test run: sbt "setScalaVersion ${{matrix.scala}}" test core/headerCheck package @@ -49,5 +50,6 @@ jobs: with: distribution: temurin java-version: ${{matrix.java}} + - uses: sbt/setup-sbt@v1 - name: Test run: sbt "setScalaVersion ${{matrix.scala}}" test core/headerCheck package