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 26, 2024
1 parent 6b81680 commit 4888d16
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 85 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: 🔍️ CodeQL

on: [push, pull_request, workflow_dispatch]

jobs:
analyse:
runs-on: ${{ matrix.os }}
permissions:
actions: read
contents: read
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 @@ -124,7 +124,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-foundry": "^1.1.1",
Expand Down Expand Up @@ -155,7 +155,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
130 changes: 47 additions & 83 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4888d16

Please sign in to comment.