Skip to content

Commit

Permalink
added workflow for centralized staticcheck run
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Dec 1, 2020
1 parent bb66e63 commit f8bb66d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/manual-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: manual code checks
on:
workflow_dispatch:

jobs:
run-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: 1.14
- name: Staticcheck
run: |
go get -u honnef.co/go/tools/cmd/staticcheck
staticcheck ./...
env:
CGO_ENABLED: 0

0 comments on commit f8bb66d

Please sign in to comment.