Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always run lint, regardless of branch #1492

Merged
merged 1 commit into from
May 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Lint

on:
push:
branches: [ $default-branch ]
pull_request:
types: [ opened, reopened, synchronize ]

Expand All @@ -12,14 +11,20 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: install dependencies
with:
fetch-depth: 0

- name: Install Dependencies
uses: ./.github/workflows/actions/ubuntu-build-deps
with:
SUDO: true
- name: install clang-format-15

- name: Install clang-format-15
run: sudo apt install -y clang-format-15
- name: configure

- name: Configure
run: ./configure

- name: lint
run: |
if which clang-format-15 2>&1 >/dev/null
Expand Down
Loading