Skip to content

[PBE-0] - Allow to hide the channel for the creator #260

[PBE-0] - Allow to hide the channel for the creator

[PBE-0] - Allow to hide the channel for the creator #260

Workflow file for this run

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: 1
matrix:
goVer: ['1.17', '1.18']
steps:
- uses: actions/checkout@v3
- name: Set up Go ${{ matrix.goVer }}
uses: actions/setup-go@v3
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