Skip to content

Commit

Permalink
refactor(ci): move protobuf to lint job
Browse files Browse the repository at this point in the history
  • Loading branch information
gluax committed Jan 23, 2024
1 parent 075296e commit 4e808f5
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
- name: Lint Proto
run: make proto-lint
- name: clang-format Check
uses: jidicula/[email protected]
with:
clang-format-version: 17
check: true
diff: true
extensions: .proto
path: proto
style: file
21 changes: 0 additions & 21 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
- name: Lint Proto
run: make proto-lint
- name: clang-format Check
uses: jidicula/[email protected]
with:
clang-format-version: 17
check: true
diff: true
extensions: .proto
path: proto
style: file

0 comments on commit 4e808f5

Please sign in to comment.