Files
ladybird/.github/workflows/lint-code.yml
Timothy Flynn 5224eb8db6 CI: Switch back to Linux for code linting
We switched to macOS since it was easier to install swift-format in CI.
With that removed, let's switch back to Linux, as macOS runners tend to
have higher contention.

To do so, this makes more use of the setup action. This way, the setup
action is the only place that needs to know how to install the apt repos
we need (LLVM in particular).
2026-02-24 14:33:22 -05:00

24 lines
483 B
YAML

name: Lint Code
on: [ push, pull_request ]
jobs:
lint:
runs-on: blacksmith-2vcpu-ubuntu-2404
if: github.repository == 'LadybirdBrowser/ladybird'
steps:
- uses: actions/checkout@v6.0.2
- name: Set Up Environment
uses: ./.github/actions/setup
id: 'setup'
with:
os: 'Linux'
arch: 'x86_64'
llvm_version: 21
type: 'lint'
- name: Lint
run: ${{ github.workspace }}/Meta/lint-ci.sh