diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b2a1e3f9..25d56777 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -31,6 +31,12 @@ jobs: distribution: 'temurin' java-version: '21' cache: 'gradle' + - uses: bufbuild/buf-action@v1 + with: + setup_only: true + - env: + BUF_TOKEN: ${{ secrets.BUF_TOKEN }} + run: echo ${BUF_TOKEN} | buf registry login buf.build --token-stdin - name: Validate Gradle Wrapper uses: gradle/actions/wrapper-validation@v4 - name: Lint diff --git a/.github/workflows/conformance.yaml b/.github/workflows/conformance.yaml index eda1819c..6d32bc85 100644 --- a/.github/workflows/conformance.yaml +++ b/.github/workflows/conformance.yaml @@ -31,6 +31,12 @@ jobs: distribution: 'temurin' java-version: '21' cache: 'gradle' + - uses: bufbuild/buf-action@v1 + with: + setup_only: true + - env: + BUF_TOKEN: ${{ secrets.BUF_TOKEN }} + run: echo ${BUF_TOKEN} | buf registry login buf.build --token-stdin - name: Validate Gradle Wrapper uses: gradle/actions/wrapper-validation@v4 - name: Test conformance diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index fb94dd62..c0890e84 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -31,6 +31,13 @@ jobs: distribution: 'temurin' java-version: '21' + - uses: bufbuild/buf-action@v1 + with: + setup_only: true + - env: + BUF_TOKEN: ${{ secrets.BUF_TOKEN }} + run: echo ${BUF_TOKEN} | buf registry login buf.build --token-stdin + - name: Validate Gradle Wrapper uses: gradle/actions/wrapper-validation@v4