Skip to content

Resolve Alert dashboard UIDs #141

Resolve Alert dashboard UIDs

Resolve Alert dashboard UIDs #141

Workflow file for this run

# Lint tests run on PR
# but should not run after push to main because reporting
# these after push is meaningless to the building of the package
name: lint
on:
pull_request:
branches: [main]
jobs:
lint:
runs-on: ${{ matrix.platform }}
strategy:
matrix:
platform: [ubuntu-latest]
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
- name: Setup Python for Pants
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: pantsbuild/actions/init-pants@v5-scie-pants
with:
# v0 makes it easy to bust the cache if needed
# just increase the integer to start with a fresh cache
gha-cache-key: v0
named-caches-hash: ${{ hashFiles('devtools/python-default.lock') }}
cache-lmdb-store: 'true'
- name: Check BUILD files
run: "pants tailor --check update-build-files --check ::"
- name: Lint and typecheck
run: |
pants lint ::
if: success() || failure()