diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c8a8931f..5119ba1a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -28,3 +28,24 @@ jobs: with: version: latest args: --timeout 10m --tests=false + + protobuf: + runs-on: ubuntu-latest + env: + GOPRIVATE: github.com/sedaprotocol/vrf-go + GITHUB_TOKEN: ${{ secrets.PAT }} + steps: + - uses: actions/checkout@v4 + - name: Install Buf + uses: bufbuild/buf-setup-action@v1.26.1 + - name: Lint Proto + run: make proto-lint + - name: clang-format Check + uses: jidicula/clang-format-action@v4.11.0 + with: + clang-format-version: 17 + check: true + diff: true + extensions: .proto + path: proto + style: file \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 54f5c0a5..52e49be2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,24 +52,3 @@ jobs: - name: Test e2e run: | make test-e2e - - lint: - runs-on: ubuntu-latest - env: - GOPRIVATE: github.com/sedaprotocol/vrf-go - GITHUB_TOKEN: ${{ secrets.PAT }} - steps: - - uses: actions/checkout@v4 - - name: Install Buf - uses: bufbuild/buf-setup-action@v1.26.1 - - name: Lint Proto - run: make proto-lint - - name: clang-format Check - uses: jidicula/clang-format-action@v4.11.0 - with: - clang-format-version: 17 - check: true - diff: true - extensions: .proto - path: proto - style: file \ No newline at end of file