Skip to content

Bump actions/upload-artifact from 4.3.6 to 4.4.0 #5239

Bump actions/upload-artifact from 4.3.6 to 4.4.0

Bump actions/upload-artifact from 4.3.6 to 4.4.0 #5239

Workflow file for this run

name: pre-commit
on:
pull_request:
push:
branches: [main]
permissions: read-all
jobs:
pre-commit:
runs-on: ubuntu-20.04
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: '3.11'
activate-environment: "coverage"
channel-priority: "disabled"
environment-file: environment/pre-commit.yml
- uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
- run: pre-commit run --show-diff-on-failure --color=always --all-files