Skip to content

Commit

Permalink
Create static_checks.yaml
Browse files Browse the repository at this point in the history
Lets see if we static check this repo.
  • Loading branch information
jeffbean committed Apr 20, 2024
1 parent 5527cae commit df9000a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/static_checks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: static check in one go
on: pull_request

jobs:
in-one:
name: Imports
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: check
uses: danhunsaker/golang-github-actions@v1.3.0
with:
run: imports,errcheck,lint,shadow,staticcheck,sec
token: ${{ secrets.GITHUB_TOKEN }}
flags: '{"sec": "-exclude=G104"}'

0 comments on commit df9000a

Please sign in to comment.