Skip to content

Revert "Support PDB & PC for Fleet (#53099) (#53236)" #29

Revert "Support PDB & PC for Fleet (#53099) (#53236)"

Revert "Support PDB & PC for Fleet (#53099) (#53236)" #29

Workflow file for this run

name: Validate
on: [pull_request, push]
jobs:
validate:
runs-on: runs-on,runner=8cpu-linux-x64,run-id=${{ github.run_id }}
env:
GOLANG_CI_LINT_VERSION: v2.7.2
GOLANG_VERSION: '1.24'
steps:
- name: Git safe directory
run: git config --global --add safe.directory "$PWD"
- name: Checkout code
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Set up Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
with:
go-version: "${{ env.GOLANG_VERSION }}"
cache: true
- name: Run golangci-lint
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
with:
version: ${{ env.GOLANG_CI_LINT_VERSION }}
args: -v
only-new-issues: true
skip-cache: false
- name: Set up Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
with:
python-version: '3.11'
cache: 'pip'
- name: Install Python dependencies
run: |
pip install --upgrade pip
pip install tox flake8
- name: Validate (modules and flake8)
run: ./scripts/validate