Skip to content

Feat/mfa

Feat/mfa #30

Workflow file for this run

on: # Apply to all pushes to `main`
pull_request:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bufbuild/buf-setup-action@v1.26.1
with:
github_token: ${{ github.token }}
- uses: bufbuild/buf-lint-action@v1.0.3
with:
buf_token: ${{ secrets.BUF_TOKEN }}
breaking:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bufbuild/buf-setup-action@v1.26.1
with:
github_token: ${{ github.token }}
- uses: bufbuild/buf-breaking-action@v1.1.3
with:
against: 'https://github.com/juanjiTech/jTerm-proto.git#branch=main'
buf_token: ${{ secrets.BUF_TOKEN }}
generate:
runs-on: ubuntu-latest
permissions:
contents: write
needs:
- lint
- breaking
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 'stable'
- run: go install github.com/grpc-ecosystem/protoc-gen-grpc-gateway-ts
- uses: bufbuild/buf-setup-action@v1.26.1
with:
github_token: ${{ github.token }}
- run: rm -rf ./gen && buf generate && go mod tidy
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'update: automatic generate new proto'
with:

Check failure on line 49 in .github/workflows/check.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/check.yaml

Invalid workflow file

The workflow is not valid. .github/workflows/check.yaml (Line: 49, Col: 9): 'with' is already defined
commit_message: 'update: automatic generate new proto'