tangled
alpha
login
or
join now
teal.fm
/
teal
110
fork
atom
Your music, beautifully tracked. All yours. (coming soon)
teal.fm
teal-fm
atproto
110
fork
atom
overview
issues
pulls
pipelines
formatting is getting in the way of autogenned content
Natalie B.
6 months ago
76afe511
0851cdcb
+3
-34
1 changed file
expand all
collapse all
unified
split
.github
workflows
ci.yml
+3
-34
.github/workflows/ci.yml
···
152
152
- name: Setup SQLx offline files
153
153
run: ./scripts/setup-sqlx-offline.sh
154
154
155
155
-
- name: Check Rust formatting
156
156
-
run: |
157
157
-
cargo fmt --all -- --check
158
158
-
cd ../apps/aqua && cargo fmt --all -- --check
155
155
+
# - name: Check Rust formatting
156
156
+
# run: |
157
157
+
# cargo fmt --all -- --check
159
158
160
159
- name: Run Clippy
161
160
run: |
162
161
cargo clippy --all-targets --all-features -- -D warnings
163
163
-
cd ../apps/aqua && cargo clippy --all-targets --all-features -- -D warnings
164
162
165
163
- name: Run Rust tests
166
164
run: |
···
214
212
run: |
215
213
pnpm lex:gen
216
214
git diff --exit-code || (echo "Lexicon files are out of sync. Run 'pnpm lex:gen' locally." && exit 1)
217
217
-
218
218
-
security-audit:
219
219
-
name: Security Audit
220
220
-
runs-on: ubuntu-latest
221
221
-
steps:
222
222
-
- name: Checkout repository
223
223
-
uses: actions/checkout@v4
224
224
-
225
225
-
- name: Setup environment
226
226
-
uses: ./.github/actions/setup
227
227
-
with:
228
228
-
setup-rust: "true"
229
229
-
setup-node: "true"
230
230
-
rust-components: "rustfmt,clippy"
231
231
-
cache-key-suffix: "security"
232
232
-
233
233
-
- name: Setup SQLx offline files
234
234
-
run: ./scripts/setup-sqlx-offline.sh
235
235
-
236
236
-
- name: Install and configure cargo-audit
237
237
-
run: |
238
238
-
cargo install cargo-audit
239
239
-
240
240
-
- name: Run Rust security audit
241
241
-
run: |
242
242
-
cargo audit
243
243
-
244
244
-
- name: Run Node.js security audit
245
245
-
run: pnpm audit --audit-level=high