Skip to content

Go

Go #290

Workflow file for this run

name: Go
on:
workflow_dispatch:
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '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 -cover -covermode=atomic -coverprofile=coverage.out -count=1 \
./kit/... \
./rony/... \
./stub/... \
./std/gateways/fasthttp/... \
./std/gateways/fastws/... \
./std/gateways/silverhttp/... \
./std/clusters/rediscluster/... \
./std/clusters/p2pcluster/... \
./testenv/...
- name: Codecov
uses: codecov/codecov-action@v4
with:
files: ./coverage.out
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}