Skip to content

Commit

Permalink
Add staticcheck github action
Browse files Browse the repository at this point in the history
  • Loading branch information
echlebek committed Feb 23, 2024
1 parent ff5b622 commit a4f31cc
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/static-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: static-check

on:
pull_request:
push:
tags:
- 'v*'
branches:
- main

jobs:
staticcheck:
name: staticcheck (project)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- id: install_go
uses: WillAbides/[email protected]
with:
go-version: "1.20.x"
- uses: dominikh/[email protected]
with:
install-go: false
version: "2023.1.7"

0 comments on commit a4f31cc

Please sign in to comment.