Merge pull request #175 from go-text/ckw-fix-trim-bidi #629
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: Static Analysis | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
static_analysis: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- uses: WillAbides/[email protected] | |
with: | |
go-version: '1.21.x' | |
- name: Install analysis tools | |
run: go install honnef.co/go/tools/cmd/[email protected] | |
- name: Vet | |
run: go vet ./... | |
- name: Staticcheck | |
run: staticcheck ./... |