Skip to content

Update biomejs/setup-biome action to v2.7.0 - autoclosed #43

Update biomejs/setup-biome action to v2.7.0 - autoclosed

Update biomejs/setup-biome action to v2.7.0 - autoclosed #43

Workflow file for this run

---
name: Checks
on:
pull_request:
push:
branches:
- main
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
biome:
runs-on: ubuntu-24.04-arm
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
- name: Setup Biome
uses: biomejs/setup-biome@29711cbb52afee00eb13aeb30636592f9edc0088 # v2.7.0
- name: Run Biome
run: biome ci .
dist:
runs-on: ubuntu-24.04-arm
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
node-version: 24
cache: yarn
- name: Install dependencies
run: yarn install --immutable
- name: Build
run: yarn run build
- name: Check for differences
run: git diff --exit-code
zizmor:
runs-on: ubuntu-24.04-arm
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
- name: Run zizmor
uses: zizmorcore/zizmor-action@e673c3917a1aef3c65c972347ed84ccd013ecda4 # v0.2.0
with:
advanced-security: false
annotations: true
min-severity: low
persona: pedantic
all-checks-passed:
if: always()
runs-on: ubuntu-24.04-arm
permissions: {}
needs:
- biome
- dist
- zizmor
steps:
- name: Check if needed jobs succeeded
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
with:
jobs: ${{ toJSON(needs) }}