Skip to content

Support publishing a messge to a specific thread #748

Support publishing a messge to a specific thread

Support publishing a messge to a specific thread #748

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
jobs:
test:
runs-on: ubuntu-22.04
strategy:
matrix:
go:
- '1.18'
- '1.19'
- '1.20'
- '1.21'
- '1.22'
name: test go-${{ matrix.go }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: run test
run: go test -v -race ./...
env:
GO111MODULE: on
lint:
runs-on: ubuntu-22.04
name: lint
steps:
- uses: actions/setup-go@v4
with:
go-version: '1.20'
cache: false
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: golangci-lint
uses: golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5 # v3.4.0
with:
version: v1.52.2