Skip to content

Commit

Permalink
Test action in CI (#105)
Browse files Browse the repository at this point in the history
This PR ensures CI runs the action built from this commit. We generate a
dummy proto file to check lint can run to completion.
  • Loading branch information
emcfarlane authored Feb 22, 2024
1 parent bed0cc4 commit 06f9dd8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
fetch-depth: 1
- name: Install Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Install Node
Expand All @@ -28,3 +28,12 @@ jobs:
run: make generate && make checkgenerate
- name: Build
run: make build && make checkgenerate
- name: Install Buf
uses: bufbuild/buf-setup-action@v1
- name: Setup Test
run: |
mkdir -p test/v1
echo "version: v1" >> buf.yaml
echo 'syntax = "proto3"; package test.v1; message A { string a = 1; }' >> test/v1/test.proto
- name: Validate Action
uses: ./

0 comments on commit 06f9dd8

Please sign in to comment.