diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 83970619..4ba53de0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -194,3 +194,28 @@ jobs: with: modules-ignore: bigquery-scala_2.13 bigquery-scala_3 docs_2.13 docs_3 bigquery-scala_2.13 bigquery-scala_3 bigquery-scala_2.13 bigquery-scala_3 codegentests_2.13 codegentests_3 configs-ignore: test scala-tool scala-doc-tool test-internal + + validate-steward: + name: Validate Steward Config + strategy: + matrix: + os: [ubuntu-latest] + java: [temurin@11] + runs-on: ${{ matrix.os }} + steps: + - name: Checkout current branch (fast) + uses: actions/checkout@v4 + + - name: Setup Java (temurin@11) + id: setup-java-temurin-11 + if: matrix.java == 'temurin@11' + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: 11 + + - uses: coursier/setup-action@v1 + with: + apps: scala-steward + + - run: scala-steward validate-repo-config .scala-steward.conf diff --git a/.scala-steward.conf b/.scala-steward.conf new file mode 100644 index 00000000..918bffda --- /dev/null +++ b/.scala-steward.conf @@ -0,0 +1,4 @@ +updates.pin = [ + { groupId = "org.slf4j", artifactId = "slf4j-api", version = "1." }, + { groupId = "ch.qos.logback", artifactId = "logback-classic", version = "1.2." } +]