Skip to content

Internal agent bug fixes 2 (#1373) #712

Internal agent bug fixes 2 (#1373)

Internal agent bug fixes 2 (#1373) #712

Workflow file for this run

name: Code Formatting
on:
push:
branches: [ master ]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
# Workaround for some `yarn` nonsense, see:
# https://github.com/yarnpkg/yarn/issues/6312#issuecomment-429685210
- name: Install Dependencies
run: yarn install --network-concurrency 1
- name: Run Linter Checks
run: |
yarn fmt
if ! git diff-index --quiet HEAD; then
echo "::error::Formatting issues detected. Please run 'yarn fmt' locally and commit the changes."
git diff --stat
git diff
exit 1
fi