Skip to content

Feature/add httpclient unit test #151

Feature/add httpclient unit test

Feature/add httpclient unit test #151

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "**" ]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
cache: false
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.55.2
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
cache: false
- name: Test
uses: robherley/[email protected]
with:
testArguments: './pkg/... -coverprofile=./cover.out'
- name: Check coverage
uses: vladopajic/go-test-coverage@v2
if: always()
with:
config: ./.testcoverage.yml