Skip to content

Bump codecov/codecov-action from 3 to 5 #1171

Bump codecov/codecov-action from 3 to 5

Bump codecov/codecov-action from 3 to 5 #1171

Workflow file for this run

name: Lint code
on:
push:
branches:
- develop
pull_request:
branches:
- develop
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Python for linting - 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Initialize Pants
uses: pantsbuild/actions/init-pants@main
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('python-default.lock') }}
pants-ci-config: pants.ci.toml
- name: Run pre-commit
uses: pre-commit/[email protected]