Skip to content

build(deps-dev): Bump ruff from 0.9.6 to 0.9.7 #557

build(deps-dev): Bump ruff from 0.9.6 to 0.9.7

build(deps-dev): Bump ruff from 0.9.6 to 0.9.7 #557

Workflow file for this run

---
name: Validate Pull Request
on: # yamllint disable-line rule:truthy
pull_request:
branches: [main]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up python
id: setup-python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Set up pants
uses: pantsbuild/actions/init-pants@v9
with:
gha-cache-key: ${{ runner.os }}-pants-init-${{ hashFiles('pants.toml') }}
named-caches-hash: ${{ hashFiles('3rdparty/python/default.lock') }}
- name: Check BUILD files
run: |
pants tailor --check update-build-files --check ::
- name: Lint and typecheck
run: |
pants lint check ::
- name: Upload pants log
uses: actions/upload-artifact@v4
with:
name: pants-log-lint
path: .pants.d/workdir/*.log
if: always() # We want the log even on failures.
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up python
id: setup-python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Set up pants
uses: pantsbuild/actions/init-pants@v9
with:
named-caches-hash: ${{ hashFiles('python-default.lock') }}
- name: Test
run: |
pants test ::
- name: Upload pants log
uses: actions/upload-artifact@v4
with:
name: pants-log-test
path: .pants.d/workdir/*.log
if: always() # We want the log even on failures.