Bump ruff from 0.6.6 to 0.6.7 in the python-packages group #1482
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Log Viewer | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
prettier: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: src/inspect_ai/_view/www | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "22.x" | |
- name: Install dependencies | |
run: yarn install | |
- name: Check prettier | |
run: yarn prettier:check | |
lint: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: src/inspect_ai/_view/www | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "22.x" | |
- name: Install dependencies | |
run: yarn install | |
- name: Run eslint | |
run: yarn eslint | |
# TODO: This is failing even with a freshly generated build.js file | |
# Need to debug or better understand the cause | |
# build: | |
# runs-on: ubuntu-latest | |
# defaults: | |
# run: | |
# working-directory: src/inspect_ai/_view/www | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - name: Set up Node.js | |
# uses: actions/setup-node@v4 | |
# with: | |
# node-version: "22.x" | |
# - name: Install dependencies | |
# run: yarn install | |
# - name: Build log viewer | |
# run: yarn build | |
# - name: Ensure dist changes are checked in | |
# run: | | |
# if [[ $(git status --porcelain) != "" ]] | |
# then | |
# echo "Log viewer dist files have not been updated, please run yarn build and check in the changes." | |
# git status | |
# git diff dist/assets/index.js | |
# exit 1 | |
# fi |