File tree Expand file tree Collapse file tree 7 files changed +74
-25
lines changed Expand file tree Collapse file tree 7 files changed +74
-25
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : gomod
4+ directory : " /"
5+ schedule :
6+ interval : daily
7+ - package-ecosystem : github-actions
8+ directory : " /"
9+ schedule :
10+ interval : daily
Original file line number Diff line number Diff line change 1+ name : build
2+
3+ on :
4+ push :
5+ branches : [ "master" ]
6+ pull_request :
7+ branches : [ "master" ]
8+
9+ jobs :
10+
11+ build :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v3
15+
16+ - name : Set up Go
17+ uses : actions/setup-go@v3
18+ with :
19+ go-version : ' stable'
20+
21+ - name : Go Format
22+ run : gofmt -s -w . && git diff --exit-code
23+
24+ - name : Go Tidy
25+ run : go mod tidy && git diff --exit-code
26+
27+ - name : Go Mod
28+ run : go mod download
29+
30+ - name : Build
31+ run : go build ./...
32+
33+ - name : Test
34+ run : go test -v -race -shuffle=on ./...
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- [ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/go-toolsmith/astp )] ( https://goreportcard.com/report/github.com/go-toolsmith/astp )
2- [ ![ GoDoc] ( https://godoc.org/github.com/go-toolsmith/astp?status.svg )] ( https://godoc.org/github.com/go-toolsmith/astp )
3- [ ![ Build Status] ( https://travis-ci.org/go-toolsmith/astp.svg?branch=master )] ( https://travis-ci.org/go-toolsmith/astp )
4-
5-
61# astp
72
8- Package astp provides AST predicates.
3+ [ ![ build-img]] [ build-url ]
4+ [ ![ pkg-img]] [ pkg-url ]
5+ [ ![ reportcard-img]] [ reportcard-url ]
6+ [ ![ version-img]] [ version-url ]
7+
8+ Package ` astp ` provides AST predicates.
99
1010## Installation:
1111
12+ Go version 1.16+
13+
1214``` bash
1315go get github.com/go-toolsmith/astp
1416```
@@ -37,3 +39,16 @@ func main() {
3739 }
3840}
3941```
42+
43+ ## License
44+
45+ [ MIT License] ( LICENSE ) .
46+
47+ [ build-img ] : https://github.com/go-toolsmith/astp/workflows/build/badge.svg
48+ [ build-url ] : https://github.com/go-toolsmith/astp/actions
49+ [ pkg-img ] : https://pkg.go.dev/badge/go-toolsmith/astp
50+ [ pkg-url ] : https://pkg.go.dev/github.com/go-toolsmith/astp
51+ [ reportcard-img ] : https://goreportcard.com/badge/go-toolsmith/astp
52+ [ reportcard-url ] : https://goreportcard.com/report/go-toolsmith/astp
53+ [ version-img ] : https://img.shields.io/github/v/release/go-toolsmith/astp
54+ [ version-url ] : https://github.com/go-toolsmith/astp/releases
Original file line number Diff line number Diff line change 11module github.com/go-toolsmith/astp
22
3- require (
4- github.com/go-toolsmith/astequal v1.0.0 // indirect
5- github.com/go-toolsmith/strparse v1.0.0
6- )
3+ go 1.16
4+
5+ require github.com/go-toolsmith/strparse v1.0.0
6+
7+ require github.com/go-toolsmith/astequal v1.0.3 // indirect
Original file line number Diff line number Diff line change 1- github.com/go-toolsmith/astequal v1.0.0 h1:4zxD8j3JRFNyLN46lodQuqz3xdKSrur7U/sr0SDS/gQ =
2- github.com/go-toolsmith/astequal v1.0.0 /go.mod h1:H+xSiq0+LtiDC11+h1G32h7Of5O3CYFJ99GVbS5lDKY =
1+ github.com/go-toolsmith/astequal v1.0.3 h1:+LVdyRatFS+XO78SGV4I3TCEA0AC7fKEGma+fH+674o =
2+ github.com/go-toolsmith/astequal v1.0.3 /go.mod h1:9Ai4UglvtR+4up+bAD4+hCj7iTo4m/OXVTSLnCyTAx4 =
33github.com/go-toolsmith/strparse v1.0.0 h1:Vcw78DnpCAKlM20kSbAyO4mPfJn/lyYA4BJUDxe2Jb4 =
44github.com/go-toolsmith/strparse v1.0.0 /go.mod h1:YI2nUKP9YGZnL/L1/DLFBfixrcjslWct4wyljWhSRy8 =
5+ golang.org/x/exp/typeparams v0.0.0-20220428152302-39d4317da171 h1:DZhP7zSquENyG3Yb6ZpGqNEtgE8dfXhcLcheIF9RQHY =
6+ golang.org/x/exp/typeparams v0.0.0-20220428152302-39d4317da171 /go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk =
You can’t perform that action at this time.
0 commit comments