diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d25f5cb..e11b3f3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 @@ -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: . diff --git a/action.yml b/action.yml index 8a9f262..bc0e7fc 100644 --- a/action.yml +++ b/action.yml @@ -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"