stream: Support zephyr/net_buf.h #36
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: Lint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-22.04 | |
steps: | |
- run: sudo apt-get update | |
- run: sudo apt-get install ripgrep fd-find shellcheck | |
- run: echo "PATH=$PATH:/usr/lib/cargo/bin" >> $GITHUB_ENV | |
- run: curl -L https://github.com/crate-ci/typos/releases/download/v1.16.1/typos-v1.16.1-x86_64-unknown-linux-musl.tar.gz | tar -C /usr/local/bin -zxf - ./typos | |
- run: wget https://apt.llvm.org/llvm.sh | |
- run: chmod +x llvm.sh | |
- run: sudo ./llvm.sh 16 | |
- run: sudo apt install clang-format-16 | |
- run: sudo ln -s "$(which clang-format-16)" /usr/local/bin/clang-format | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- run: pip3 install -r requirements.txt | |
- run: ./scripts/lint |