mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
33 lines
707 B
YAML
33 lines
707 B
YAML
name: Lint
|
|
|
|
permissions:
|
|
contents: read
|
|
env:
|
|
LLVM_VERSION: 16
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
lint:
|
|
name: Lint
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
text_output: ${{ steps.lint.outputs.text_output }}
|
|
json_output: ${{ steps.lint.outputs.json_output }}
|
|
count: ${{ steps.lint.outputs.count }}
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Setup Bun
|
|
uses: ./.github/actions/setup-bun
|
|
with:
|
|
bun-version: "1.1.3"
|
|
- name: Install Dependencies
|
|
run: |
|
|
bun --cwd=packages/bun-internal-test install
|
|
- name: Lint
|
|
id: lint
|
|
run: |
|
|
bun packages/bun-internal-test/src/linter.ts
|