Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabled CodeQL #209

Merged
merged 2 commits into from
May 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,24 @@ on:

permissions:
id-token: write
actions: read
contents: read
security-events: write

jobs:
run-tests:
name: Run Tests
runs-on: ubuntu-latest

steps:
- name: Check out source code
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: javascript

- uses: azure/login@v1
with:
client-id: ${{ secrets.CLIENT_ID }}
Expand All @@ -37,13 +45,22 @@ jobs:
SUBSCRIPTION_ID: ${{ secrets.SUBSCRIPTION_ID }}
run: npm test

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

run-tests-edge:
name: Run Tests (Edge)
runs-on: ubuntu-latest

steps:
- name: Check out source code
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: javascript

- name: Installing Az CLI Edge build
run: |
cd ../..
Expand Down Expand Up @@ -76,6 +93,9 @@ jobs:
SUBSCRIPTION_ID: ${{ secrets.SUBSCRIPTION_ID }}
run: npm test

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

execute-action:
name: Execute Action
runs-on: ${{ matrix.os }}
Expand Down
Loading