[CHA-14] Added support for pinning, archiving channels and partial member update #345
Workflow file for this run
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: build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
test-build: | |
name: 👷 Test & Build | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 3 | |
fail-fast: false | |
matrix: | |
goVer: ['1.18', '1.19', '1.20', '1.21', '1.22', '1.23'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go ${{ matrix.goVer }} | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.goVer }} | |
- name: Test via ${{ matrix.goVer }} | |
env: | |
STREAM_KEY: ${{ secrets.STREAM_CHAT_API_KEY }} | |
STREAM_SECRET: ${{ secrets.STREAM_CHAT_API_SECRET }} | |
run: | | |
go test -coverprofile cover.out -v -race ./... | |
go tool cover -func=cover.out |