Skip to content

Commit 33dd1f0

Browse files
author
Jim Ryan
authored
chore: add static check action to CI (#6649)
* add static check action * add deprecated function to test staticcheck * format * remove deprecated function
1 parent 2b979c0 commit 33dd1f0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,13 @@ jobs:
233233
token: ${{ secrets.CODECOV_TOKEN }} # required
234234
if: ${{ needs.checks.outputs.binary_cache_hit != 'true' }}
235235

236+
- name: Run static check
237+
uses: dominikh/staticcheck-action@fe1dd0c3658873b46f8c9bb3291096a617310ca6 # v1.3.1
238+
with:
239+
version: "latest"
240+
install-go: false
241+
if: ${{ needs.checks.outputs.binary_cache_hit != 'true' }}
242+
236243
binaries:
237244
name: Build Binaries
238245
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)