diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.yml new file mode 100644 index 0000000..fe6f1b3 --- /dev/null +++ b/.github/workflows/static_analysis.yml @@ -0,0 +1,26 @@ +name: Go Static Analysis + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + name: Static Analysis + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Setup Go + uses: actions/setup-go@v5 + with: + go-version: 1.22.0 + + - name: Check go vet + run: go vet ./...