Skip to content

Commit

Permalink
Updated codeql workflow to use correct context for javascript app
Browse files Browse the repository at this point in the history
  • Loading branch information
jm20122012 committed Jun 25, 2024
1 parent 4feb651 commit 72a9952
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
language: [ 'javascript', 'go' ]

steps:
- name: Checkout repository
Expand All @@ -32,11 +32,20 @@ jobs:
with:
node-version: '16'

- name: Install dependencies
run: npm ci
- name: Install dependencies and build React app
working-directory: ./ui
run: |
npm ci
npm run build
- name: Build React app
run: npm run build
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.22.4'

- name: Build Go code
working-directory: ./controller
run: go build ./...

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down

0 comments on commit 72a9952

Please sign in to comment.