File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # SPDX-License-Identifier: MPL-2.0
2+ name : CodeQL Security Analysis
3+
4+ on :
5+ push :
6+ branches : [main, master]
7+ pull_request :
8+ branches : [main, master]
9+ schedule :
10+ - cron : ' 0 6 * * 1'
11+
12+ # Estate guardrail: cancel superseded runs so re-pushes / rebased PR
13+ # updates do not pile up queued runs against the shared account-wide
14+ # Actions concurrency pool. Applied only to read-only check workflows
15+ # (no publish/mutation), so cancelling a superseded run is always safe.
16+ concurrency :
17+ group : ${{ github.workflow }}-${{ github.ref }}
18+ cancel-in-progress : true
19+
20+ permissions :
21+ contents : read
22+
23+ jobs :
24+ analyze :
25+ runs-on : ubuntu-latest
26+ timeout-minutes : 60
27+ permissions :
28+ contents : read
29+ security-events : write
30+ strategy :
31+ fail-fast : false
32+ matrix :
33+ include :
34+ - language : javascript-typescript
35+ build-mode : none
36+ - language : cpp
37+ build-mode : none
38+
39+ steps :
40+ - name : Checkout
41+ uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e # v6.0.3
42+
43+ - name : Initialize CodeQL
44+ uses : github/codeql-action/init@87557b9c84dde89fdd9b10e88954ac2f4248e463 # v3
45+ with :
46+ languages : ${{ matrix.language }}
47+ build-mode : ${{ matrix.build-mode }}
48+
49+ - name : Perform CodeQL Analysis
50+ uses : github/codeql-action/analyze@87557b9c84dde89fdd9b10e88954ac2f4248e463 # v3
51+ with :
52+ category : " /language:${{ matrix.language }}"
Original file line number Diff line number Diff line change 2828 # valence-shell changes are not blocked by an unrelated upstream breakage.
2929 if : github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
3030 runs-on : ubuntu-latest
31+ timeout-minutes : 30
3132 steps :
3233 - name : Checkout code
3334 uses : actions/checkout@1cce3390c2bfda521930d01229c073c7ff920824 # v6.0.2
4950 cargo build --release --bin echidna
5051 echo "/tmp/echidna/target/release" >> $GITHUB_PATH
5152
53+ - name : Install proof provers
54+ run : |
55+ set -euo pipefail
56+ sudo apt-get update
57+ sudo apt-get install -y --no-install-recommends \
58+ lean \
59+ coq \
60+ agda \
61+ isabelle \
62+ z3
63+
5264 - name : Verify ECHIDNA available
5365 run : echidna list-provers
5466
6072 correspondence :
6173 name : Lean 4 ↔ Rust Correspondence
6274 runs-on : ubuntu-latest
75+ timeout-minutes : 30
6376 steps :
6477 - name : Checkout code
6578 uses : actions/checkout@1cce3390c2bfda521930d01229c073c7ff920824 # v6.0.2
You can’t perform that action at this time.
0 commit comments