mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
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).
24 lines
483 B
YAML
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
|