Skip to content

Commit

Permalink
chore: add static check action to CI (#6649)
Browse files Browse the repository at this point in the history
* add static check action

* add deprecated function to test staticcheck

* format

* remove deprecated function
  • Loading branch information
j1m-ryan authored Oct 14, 2024
1 parent 2b979c0 commit 33dd1f0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,13 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }} # required
if: ${{ needs.checks.outputs.binary_cache_hit != 'true' }}

- name: Run static check
uses: dominikh/staticcheck-action@fe1dd0c3658873b46f8c9bb3291096a617310ca6 # v1.3.1
with:
version: "latest"
install-go: false
if: ${{ needs.checks.outputs.binary_cache_hit != 'true' }}

binaries:
name: Build Binaries
runs-on: ubuntu-24.04
Expand Down

0 comments on commit 33dd1f0

Please sign in to comment.