Skip to content

build(deps): bump github.com/go-resty/resty/v2 from 2.10.0 to 2.11.0 #66

build(deps): bump github.com/go-resty/resty/v2 from 2.10.0 to 2.11.0

build(deps): bump github.com/go-resty/resty/v2 from 2.10.0 to 2.11.0 #66

Workflow file for this run

name: ci
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
lint-test-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Install tools
run: make setup-tools
- name: Run cyclometric complexity check
run: |
gocyclo -avg .
gocyclo -over 15 .
- name: Run cognitive complexity check
run: |
gocognit -avg .
gocognit -over 15 .
- name: Run static check
run: staticcheck ./...
- name: Test
run: go test -timeout 10s -count=1 -race ./...