ci: enable CodeQL + add code-scanning badge
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
name: CodeQL
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
schedule:
|
||||
- cron: '22 4 * * 1'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
security-events: write
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze (Rust)
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
security-events: write
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4
|
||||
with:
|
||||
languages: rust
|
||||
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4
|
||||
@@ -1,6 +1,6 @@
|
||||
# MT5-Quant
|
||||
|
||||
[](https://scorecard.dev/viewer/?uri=github.com/masdevid/mt5-quant) [](https://bestpractices.coreinfrastructure.org/projects/14227) [](https://github.com/masdevid/mt5-quant/actions/workflows/rust.yml) [](https://crates.io/crates/mt5-quant) [](LICENSE)
|
||||
[](https://scorecard.dev/viewer/?uri=github.com/masdevid/mt5-quant) [](https://bestpractices.coreinfrastructure.org/projects/14227) [](https://github.com/masdevid/mt5-quant/actions/workflows/rust.yml) [](https://crates.io/crates/mt5-quant) [](LICENSE) [](https://github.com/masdevid/mt5-quant/security/code-scanning)
|
||||
|
||||
**MCP server for MT5 strategy development on macOS/Linux.** 89 tools to compile, backtest, analyze, optimize, debug crashes, and manage MQL5 Expert Advisors — no Windows required.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user