-
Notifications
You must be signed in to change notification settings - Fork 381
44 lines (38 loc) · 1013 Bytes
/
unicop.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
name: Unicop - find evil unicode
on:
pull_request:
paths:
- .github/workflows/unicop.yml
- '**/*.rs'
- '**/*.swift'
- '**/*.go'
- '**/*.py'
# Javascript/Typescript
- '**/*.ts'
- '**/*.js'
# Kotlin
- '**/*.kt'
- '**/*.kts'
# C/C++
- '**/*.cpp'
- '**/*.h'
workflow_dispatch:
permissions: {}
jobs:
unicop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout submodules
run: |
git config --global --add safe.directory '*'
git submodule update --init --depth=1 dist-assets/binaries
git submodule update --init --depth=1 windows
git submodule update --init --depth=1 wireguard-go-rs/libwg/wireguard-go
- name: Install Rust toolchain
run: rustup override set stable
- name: Install unicop
run: cargo install --locked unicop
- name: Check for unwanted unicode
run: unicop --verbose .