Merge pull request #396 from pohly/slog-helper #33
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run lint | |
on: [ push, pull_request ] | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
strategy: | |
matrix: | |
path: | |
- . | |
- examples | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Lint | |
uses: golangci/golangci-lint-action@v2 | |
with: | |
# version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version | |
version: latest | |
working-directory: ${{ matrix.path }} |