accept but ignore permissions to forbidden IPs #27
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: | |
pull_request: | |
types: [ opened, reopened, synchronize ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Dependencies | |
uses: ./.github/workflows/actions/ubuntu-build-deps | |
with: | |
SUDO: true | |
- name: Install clang-format-15 | |
run: sudo apt install -y clang-format-15 | |
- name: Configure | |
run: ./configure | |
- name: lint | |
run: | | |
if which clang-format-15 2>&1 >/dev/null | |
then | |
sudo cp $(which clang-format-15) $(which clang-format) | |
fi | |
clang-format --version | |
make lint |