Skip to content

Update list of allowed telegram styles for TelegramSupportedHTML #61

Update list of allowed telegram styles for TelegramSupportedHTML

Update list of allowed telegram styles for TelegramSupportedHTML #61

Workflow file for this run

name: build
on:
push:
branches:
tags:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: set up go
uses: actions/setup-go@v5
with:
go-version: "1.21"
id: go
- name: checkout
uses: actions/checkout@v4
- name: build and test
run: |
go get -v
go test -race -timeout=60s -covermode=atomic -coverprofile=$GITHUB_WORKSPACE/profile.cov ./...
go build -race
env:
TZ: "America/Chicago"
- name: golangci-lint
uses: golangci/golangci-lint-action@v5
with:
version: latest
- name: submit coverage
run: |
go install github.com/mattn/goveralls@latest
goveralls -service="github" -coverprofile=$GITHUB_WORKSPACE/profile.cov
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}