all repos — telegram-bot-api @ 67c5217394180c54527b5fc2a756dac724f9ed04

Golang bindings for the Telegram Bot API

.github/workflows/test.yml (view raw)

 1name: Test
 2
 3on: [push, pull_request]
 4
 5jobs:
 6  build:
 7    name: Test
 8    runs-on: ubuntu-latest
 9    steps:
10    - name: Set up Go 1.x
11      uses: actions/setup-go@v2
12      with:
13        go-version: ^1.14
14      id: go
15
16    - name: Check out code into the Go module directory
17      uses: actions/checkout@v2
18
19    - name: Build
20      run: go build -v .
21
22    - name: Test
23      run: go test -coverprofile=coverage.out -covermode=atomic -v .
24
25    - name: Upload coverage report
26      uses: codecov/codecov-action@v1
27      with:
28        file: ./coverage.out