Skip to content

Feat/telegram feeder #200

Feat/telegram feeder

Feat/telegram feeder #200

Workflow file for this run

name: Build and Test
# This workflow will run on master branch and on any pull requests targeting master
on:
push:
branches:
- master
paths-ignore:
- 'docs/**'
- 'src_docs/**'
- '.github/**'
pull_request:
jobs:
#lint:
# name: Lint
# runs-on: ubuntu-latest
# steps:
# - name: Set up Go
# uses: actions/setup-go@v2
# with:
# go-version: 1.18
#
# - name: Check out code
# uses: actions/checkout@v2
#
# - name: Lint Go Code
# run: |
# go get -u golang.org/x/lint/golint
# make lint
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Check out code
uses: actions/checkout@v2
- name: Run Unit tests.
run: make test-coverage
- name: Upload Coverage report to CodeCov
uses: codecov/codecov-action@v1.0.0
with:
token: ${{secrets.CODECOV_TOKEN}}
file: ./coverage.txt
build:
name: Build
runs-on: ubuntu-latest
needs: [test]
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Check out code
uses: actions/checkout@v2
- name: Build
run: make build