Skip to content

STEP-7 Code coverage added. #42

STEP-7 Code coverage added.

STEP-7 Code coverage added. #42

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: '1.21'
- uses: actions/checkout@v4
- uses: golangci/golangci-lint-action@v3
with:
version: v1.54.2
args: --timeout=5m
test:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: '1.21'
- uses: actions/checkout@v4
- run: go test -race ./...
build:
strategy:
matrix:
go-version: [ ^1.21 ] # ^1.19
os: [ ubuntu-latest ] # macos-latest, windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v4
- run: go build ./cmd/chat-service