Skip to content

Commit

Permalink
👷 Add CodeQL CI Pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <[email protected]>
  • Loading branch information
pcaversaccio committed Feb 27, 2024
1 parent 60918dc commit c1e94e2
Show file tree
Hide file tree
Showing 3 changed files with 102 additions and 85 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: 🔍️ CodeQL

on: [push, pull_request, workflow_dispatch]

concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true

jobs:
analyse:
runs-on: ${{ matrix.os }}
permissions:
security-events: write
strategy:
matrix:
os:
- ubuntu-latest
language:
- javascript-typescript

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Initialise CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: +security-and-quality

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

- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
"@matterlabs/hardhat-zksync-deploy": "^1.2.0",
"@matterlabs/hardhat-zksync-ethers": "1.0.0",
"@matterlabs/hardhat-zksync-solc": "^1.1.4",
"@matterlabs/hardhat-zksync-verify": "^1.3.0",
"@matterlabs/hardhat-zksync-verify": "^1.4.0",
"@nomicfoundation/hardhat-chai-matchers": "^2.0.6",
"@nomicfoundation/hardhat-ethers": "^3.0.5",
"@nomicfoundation/hardhat-ledger": "^1.0.2",
Expand Down Expand Up @@ -148,7 +148,7 @@
"ts-node": "^10.9.2",
"typechain": "^8.3.2",
"typescript": "^5.3.3",
"typescript-eslint": "^7.0.2",
"typescript-eslint": "^7.1.0",
"xdeployer": "^3.0.1",
"zksync-ethers": "^6.3.0"
}
Expand Down
Loading

0 comments on commit c1e94e2

Please sign in to comment.