File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : build & test
1+ name : build
22
33on :
44 push :
1111 - cron : ' 0 6 * * 1' # weekly (every monday at 6 am UTC)
1212
1313jobs :
14- build-and-test :
14+ build :
1515 runs-on : ubuntu-latest
1616 steps :
1717 - uses : actions/checkout@v4
1818 - uses : actions/setup-go@v5
1919 with :
20- go-version : ' >=1.19 '
20+ go-version : ' >=1.20 '
2121 check-latest : true
2222 - name : install deps
2323 run : |
2424 go install golang.org/x/lint/golint@latest
2525 - run : go build -v ./...
26- - run : go test -v ./...
2726 - run : go vet ./...
2827 - run : golint -set_exit_status ./...
Original file line number Diff line number Diff line change 1+ name : test
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ branches :
9+ - master
10+ schedule :
11+ - cron : ' 0 6 * * 1' # weekly (every monday at 6 am UTC)
12+
13+ jobs :
14+ test :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v4
18+ - uses : actions/setup-go@v5
19+ with :
20+ go-version : ' >=1.20'
21+ check-latest : true
22+ - run : go test -v ./...
Original file line number Diff line number Diff line change 11# IMDb Go API
22
3- [ ![ Build Status] [ 1 ]] [ 2 ] [ ![ Godoc] [ 3 ]] [ 4 ]
3+ [ ![ godoc] ( https://godoc.org/github.com/StalkR/imdb?status.png )] ( https://godoc.org/github.com/StalkR/imdb )
4+ [ ![ build status] ( https://github.com/StalkR/imdb/actions/workflows/build.yml/badge.svg )] ( https://github.com/StalkR/imdb/actions/workflows/build.yml )
5+ [ ![ test status] ( https://github.com/StalkR/imdb/actions/workflows/test.yml/badge.svg )] ( https://github.com/StalkR/imdb/actions/workflows/test.yml )
46
5- ` go get github.com/StalkR/imdb `
7+ Unofficial IMDb API in Go.
68
7- Bugs, comments, questions: create a [ new issue ] [ 5 ] .
9+ ## Usage
810
9- Also, IMDb has [ alternative interfaces ] [ 6 ] .
11+ See [ example ] ( https://github.com/StalkR/imdb/blob/master/examples/imdb.go ) .
1012
11- [ 1 ] : https://github.com/StalkR/imdb/actions/workflows/build.yml/badge.svg
12- [ 2 ] : https://github.com/StalkR/imdb/actions/workflows/build.yml
13- [ 3 ] : https://godoc.org/github.com/StalkR/imdb?status.png
14- [ 4 ] : https://godoc.org/github.com/StalkR/imdb
15- [ 5 ] : https://github.com/StalkR/imdb/issues/new
16- [ 6 ] : http://www.imdb.com/interfaces
13+ ## Support
14+
15+ Bugs, comments, questions: create a [ new issue] ( https://github.com/StalkR/imdb/issues/new ) .
16+
17+ ## Alternatives
18+
19+ See IMDb [ interfaces] ( https://www.imdb.com/interfaces ) .
You can’t perform that action at this time.
0 commit comments