Skip to content

Commit

Permalink
Combine codeql.yml and dev.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DemianParkhomenko committed Sep 9, 2023
1 parent 2d10f92 commit e5ce2f2
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 41 deletions.
41 changes: 0 additions & 41 deletions .github/workflows/codeql.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,35 @@ name: Dev CI/CD Pipeline
on:
push:
jobs:
analyze:
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: ['javascript']

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: '/language:${{matrix.language}}'
test:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit e5ce2f2

Please sign in to comment.