Skip to content
This repository was archived by the owner on May 21, 2026. It is now read-only.

chore: pin github actions to sha (#804) #696

chore: pin github actions to sha (#804)

chore: pin github actions to sha (#804) #696

name: Lint test
on:
workflow_dispatch:
pull_request:
paths:
- 'ci/kubetest/**'
- .github/workflows/test-lint-flake8.yaml
push:
branches:
- main
jobs:
kubetest:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: Install Python dependencies
run: |
python -m pip install -r ci/kubetest/requirements.txt
- name: Check formatting
run: |
black --check ci/kubetest
isort --check-only ci/kubetest
- name: Lint with flake8
run: |
flake8 --config ci/kubetest/.flake8 ci/kubetest