Implement OpenVPN warnings #321
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 . |