Skip to content

lint

lint #41

Workflow file for this run

name: lint
on:
push:
tags:
- v*
branches:
- master
- main
pull_request:
jobs:
golangci-lint-library:
name: lint library
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.29
# we need to lint the submodule of acceptance tests manually
golangci-lint-acceptance:
name: lint acceptance
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.29
working-directory: acceptance