Skip to content

Commit

Permalink
go test and codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
tenfyzhong committed Jan 19, 2024
1 parent cb4d12e commit 90f117d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 23 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: go
on:
push:
pull_request_target:
branches: [ "main" ]

jobs:
build-test:
uses: tenfyzhong/workflows/.github/workflows/go-build-test.yml@main
with:
go-version: '1.20'
path: "."

22 changes: 0 additions & 22 deletions .github/workflows/test.yml

This file was deleted.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# st2
[![test](https://github.com/tenfyzhong/st2/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/tenfyzhong/st2/actions/workflows/test.yml)
[![go](https://github.com/tenfyzhong/st2/actions/workflows/build-test.yml/badge.svg?branch=main)](https://github.com/tenfyzhong/st2/actions/workflows/build-test.yml)
[![codecov](https://codecov.io/gh/tenfyzhong/st2/graph/badge.svg?token=1LTM5DPX7S)](https://codecov.io/gh/tenfyzhong/st2)
[![GitHub tag](https://img.shields.io/github/tag/tenfyzhong/st2.svg)](https://github.com/tenfyzhong/st2/tags)
[![Go Reference](https://pkg.go.dev/badge/github.com/tenfyzhong/st2.svg)](https://pkg.go.dev/github.com/tenfyzhong/st2)

`st2` provide a package to parse json/protobuf/thrift/go/csv code and generage go/protobuf/thrift code.
Expand Down

0 comments on commit 90f117d

Please sign in to comment.