Skip to content

Commit

Permalink
Add codeql
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky committed Oct 8, 2023
1 parent 4cd71f3 commit f4f2aab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
languages: ${{ matrix.language }}

- name: Build indexer
run: cd cmd/indexer && go build .
run: cd cmd/indexer && go build -a -installsuffix cgo -o ../../indexer .

- name: Build api
run: cd cmd/api && go build .
run: cd cmd/api && go build -a -installsuffix cgo -o ../../indexer .

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ api:

indexer:
docker-compose up -d db
cd cmd/indexer && go run .
cd cmd/indexer && go build -a -installsuffix cgo -o ../../indexer .

seo:
ifeq ($(BCD_ENV), development)
Expand Down

0 comments on commit f4f2aab

Please sign in to comment.