File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 name : Install dependencies
3737 run : |
3838 sudo apt-get update
39- sudo apt-get install -y protobuf-compiler
39+ sudo apt-get install -y protobuf-compiler gcc ssh curl pkg-config libssl-dev libsqlite3-dev
40+ sudo curl https://sh.rustup.rs -sSf | sh -s -- -y
4041 -
4142 uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
4243 -
@@ -118,15 +119,19 @@ jobs:
118119 FORCE_COLOR : 1
119120 steps :
120121 -
121- uses : earthly/actions-setup@b81a8e082d9fae6174210cfc6e54bd2feb124d94
122- with :
123- version : " latest"
122+ name : Install dependencies
123+ run : |
124+ sudo apt-get update
125+ sudo apt-get install -y git python3 python3-venv python3-pip
124126 -
125127 uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
126128 -
127129 name : Run check
128- run : earthly --ci +secret-scan
129-
130+ run : |
131+ python3 -m venv venv
132+ source venv/bin/activate
133+ pip3 install detect-secrets
134+ git ls-files -z | xargs -0 detect-secrets-hook --baseline .secrets.baseline
130135
131136
132137 build_python_package :
Original file line number Diff line number Diff line change 9090 {
9191 "path": "detect_secrets.filters.allowlist.is_line_allowlisted"
9292 },
93+ {
94+ "path": "detect_secrets.filters.common.is_baseline_file",
95+ "filename": ".secrets.baseline"
96+ },
9397 {
9498 "path": "detect_secrets.filters.common.is_ignored_due_to_verification_policies",
9599 "min_level": 2
129133 "filename": ".github/workflows/build_test.yml",
130134 "hashed_secret": "f8c9ca2243c245951407ec16a1918a5ec6a070b4",
131135 "is_verified": false,
132- "line_number": 409
136+ "line_number": 414
133137 }
134138 ],
135139 ".vscode/launch.json": [
590594 }
591595 ]
592596 },
593- "generated_at": "2026-03-24T11:34:22Z "
597+ "generated_at": "2026-04-23T16:41:57Z "
594598}
Original file line number Diff line number Diff line change @@ -50,16 +50,6 @@ ansible-lint:
5050 RUN ansible-lint deploy/ansible/ainari
5151
5252
53- secret-scan :
54- RUN apt-get update && \
55- apt-get install -y python3 python3-pip git python3-venv && \
56- python3 -m venv check_env
57- ENV PATH= "/code/check_env/bin:$PATH"
58- RUN pip3 install detect-secrets
59- COPY . .
60- RUN git ls-files -z | xargs -0 detect-secrets-hook --baseline .secrets.baseline
61-
62-
6353prepare-build-dependencies :
6454 # install dependencies
6555 RUN apt-get update && \
You can’t perform that action at this time.
0 commit comments