diff --git a/.github/workflows/static_checks.yaml b/.github/workflows/static_checks.yaml new file mode 100644 index 00000000..8baadb4a --- /dev/null +++ b/.github/workflows/static_checks.yaml @@ -0,0 +1,14 @@ +name: static check in one go +on: pull_request + +jobs: + in-one: + name: lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: check + uses: danhunsaker/golang-github-actions@v1.3.0 + with: + run: errcheck,vet,fmt,staticcheck + token: ${{ secrets.GITHUB_TOKEN }}