Skip to content

Add exemption for type assertions in Is(error) bool methods #45

Add exemption for type assertions in Is(error) bool methods

Add exemption for type assertions in Is(error) bool methods #45

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_call:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: stable
- name: Get dependencies
run: go get -v -t -d ./...
- name: go build
run: go build -v
- name: go test
run: go test -test.v -race -cover
conventional-commits:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: pip3 install -U Commitizen
# The commit hash here is that of the commit where we started using conventional commits.
- run: cz check --rev-range deebab92..HEAD