[CHA-242] Adding new property to channel config (#291) #328
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'] | |
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 |