Skip to content

Commit

Permalink
ci: add golangci
Browse files Browse the repository at this point in the history
  • Loading branch information
kevwan committed Oct 30, 2021
1 parent 0c5300b commit b9e7ca5
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: golangci-lint
on:
push:
tags:
- v*
branches:
- master
- main
pull_request:
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

# corpus files
data
**/*.corpus.json
**/*.yml
**/*.gob
**/stopwords.txt
cli/**/*.yml
cli/**/*.corpus.json
cli/**/*.gob
cli/**/stopwords.txt
21 changes: 0 additions & 21 deletions .golangci.yaml

This file was deleted.

0 comments on commit b9e7ca5

Please sign in to comment.