CircleCI¶
.circleci/config.yml:
version: 2.1
jobs:
crap:
docker:
- image: cimg/go:1.23
steps:
- checkout
- run:
name: Install go-crap
command: curl -fsSL https://padiazg.github.io/go-crap/install.sh | sh
- run:
name: Run go-crap
command: go-crap scan --fail-above --threshold 30 --exclude 'testdata/.*\.go'
workflows:
quality:
jobs:
- crap