Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

feat(compogen): automate to add missing parts in the document #90

feat(compogen): automate to add missing parts in the document

feat(compogen): automate to add missing parts in the document #90

Workflow file for this run

name: Compogen test
on:
pull_request:
paths:
- 'tools/compogen/**'
push:
branches:
- main
paths:
- 'tools/compogen/**'
jobs:
test-compogen:
name: test-compogen
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Load .env file
uses: cardinalby/export-env-action@v2
with:
envFile: .env
expand: true
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GOLANG_VERSION }}
- name: Test compogen
run: |
cd tools/compogen
go mod tidy
go test -mod=mod -race -cover ./...