-
-
Notifications
You must be signed in to change notification settings - Fork 22
30 lines (23 loc) · 786 Bytes
/
prettier.yml
File metadata and controls
30 lines (23 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: "Prettier"
on: [push]
jobs:
prettier_check:
name: "Prettier - Ubuntu"
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Install clang-format-20
run: |
curl -fsSL -o /usr/local/bin/clang-format-20 \
https://github.com/muttleyxd/clang-tools-static-binaries/releases/download/master-796e77c/clang-format-20_linux-amd64
chmod +x /usr/local/bin/clang-format-20
ln -sf /usr/local/bin/clang-format-20 /usr/local/bin/clang-format
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Install just
uses: extractions/setup-just@v2
- name: Check formatting
run: |
just format-check