Skip to content

Go

Go #275

Workflow file for this run

name: Go
on:
workflow_dispatch:
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.21', '1.22' ]
name: Set up Go ${{ matrix.go }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: Run Tests
run: |
go test -v -race -cover -covermode=atomic -coverprofile=coverage.out -count=1 \
./kit/... \
./std/gateways/fasthttp/... \
./std/gateways/fastws/... \
./std/gateways/silverhttp/... \
./std/clusters/rediscluster/...
- name: Codecov KIT
uses: codecov/codecov-action@v4
with:
files: ./coverage.xml
verbose: true