Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test action in CI #122

Merged
merged 4 commits into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 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,13 @@ 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: |
echo "version: v1" >> buf.yaml
echo 'syntax = "proto3"; message A { string a = 1; }' >> test.proto
- name: Validate Action
uses: ./
with:
against: .
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ outputs:
results:
description: "The generated breaking change messages with the file annotations."
runs:
using: "node16"
using: "node20"
main: "./dist/main.js"
Loading