fix(protogen): handle tmp dirs within protogen script #528
Workflow file for this run
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: lint | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- v* | |
pull_request: | |
jobs: | |
go: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup env | |
uses: HatsuneMiku3939/direnv-action@v1 | |
- run: | | |
toolchain=$(./script/tools.sh gotoolchain | sed 's/go*//') | |
echo "GOVERSION=${toolchain}" >> $GITHUB_ENV | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "${{ env.GOVERSION }}" | |
- name: go mod vendor | |
run: make modvendor | |
- name: lint | |
run: make lint-go | |
proto: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup env | |
uses: HatsuneMiku3939/direnv-action@v1 | |
- run: | | |
toolchain=$(./script/tools.sh gotoolchain | sed 's/go*//') | |
echo "GOVERSION=${toolchain}" >> $GITHUB_ENV | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "${{ env.GOVERSION }}" | |
- name: go mod vendor | |
run: make modvendor | |
- name: lint-go | |
run: make lint-proto | |
ts: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup env | |
uses: HatsuneMiku3939/direnv-action@v1 | |
- name: lint-ts | |
run: make lint-ts |