Release v1.40.0 (#222) #307
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: {} # support manual runs | |
# Prevent writing to the repository using the CI token. | |
# Ref: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#permissions | |
permissions: read-all | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.22 | |
- name: Install Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Generate | |
run: make generate && make checkgenerate | |
- name: Build | |
run: make build && make checkgenerate | |
- name: Validate Action | |
uses: ./ | |
- run: buf --version |