Skip to content

Commit

Permalink
feat: add static analysis ci
Browse files Browse the repository at this point in the history
  • Loading branch information
zjregee committed Jul 26, 2024
1 parent c2a4983 commit 437b697
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/static_analysis.yml
Original file line number Diff line number Diff line change
@@ -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 ./...

0 comments on commit 437b697

Please sign in to comment.