Skip to content

Commit

Permalink
run codeql in tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mmetc committed Jun 25, 2023
1 parent c832231 commit 566fa95
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 62 deletions.
61 changes: 0 additions & 61 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

10 changes: 9 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ jobs:
with:
go-version: 1.20.5

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: go, python

- name: Build
run: |
make build
Expand Down Expand Up @@ -83,10 +88,13 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.51
version: v1.53
args: --issues-exit-code=1 --timeout 10m
only-new-issues: false
# the cache is already managed above, enabling it here
# gives errors when extracting
skip-pkg-cache: true
skip-build-cache: true

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

0 comments on commit 566fa95

Please sign in to comment.