fix repo migrate #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: testing | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
name: Unit-Testing | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ^1.16 | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- name: Running Tests | |
run: go test -v ./... | |
- name: Send notification to telegram bot | |
uses: yanzay/notify-telegram@v0.1.0 | |
if: always() | |
with: | |
chat: ${{ secrets.telegram_chat }} # user id or channel name secret | |
token: ${{ secrets.telegram_token }} # token secret | |
status: ${{ job.status }} # do not modify this line |