Skip to content

chore(main): release 0.22.0-beta (#196) #4

chore(main): release 0.22.0-beta (#196)

chore(main): release 0.22.0-beta (#196) #4

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 ./...