all repos — telegram-bot-api @ 67c5217394180c54527b5fc2a756dac724f9ed04

Golang bindings for the Telegram Bot API

Attempt to use GitHub Actions.
Syfaro syfaro@huefox.com
Sun, 26 Jul 2020 23:07:24 -0500
commit

67c5217394180c54527b5fc2a756dac724f9ed04

parent

2f7211a7085f09de4f8860102117613019a5adc0

2 files changed, 28 insertions(+), 6 deletions(-)

jump to
A .github/workflows/test.yml

@@ -0,0 +1,28 @@

+name: Test + +on: [push, pull_request] + +jobs: + build: + name: Test + runs-on: ubuntu-latest + steps: + - name: Set up Go 1.x + uses: actions/setup-go@v2 + with: + go-version: ^1.14 + id: go + + - name: Check out code into the Go module directory + uses: actions/checkout@v2 + + - name: Build + run: go build -v . + + - name: Test + run: go test -coverprofile=coverage.out -covermode=atomic -v . + + - name: Upload coverage report + uses: codecov/codecov-action@v1 + with: + file: ./coverage.out
D .travis.yml

@@ -1,6 +0,0 @@

-language: go - -go: - - '1.13' - - '1.14' - - tip