Skip to content

fix: add BSD tar fallback support for macOS #464

fix: add BSD tar fallback support for macOS

fix: add BSD tar fallback support for macOS #464

name: "code-linting-checks"
on:
pull_request:
paths:
- "**/*.py"
- "**/*.pyi"
- "**/*.yaml"
push:
paths:
- "**/*.py"
- "**/*.pyi"
- "**/*.yaml"
schedule:
# Run daily at 00:15 UTC (the 15 is to avoid periods of high load)
- cron: "15 0 * * *"
workflow_dispatch:
permissions: {}
concurrency:
group: "${{github.workflow}}-${{github.ref}}"
# Cancel in-progress jobs for efficiency
cancel-in-progress: true
jobs:
lint-check:
strategy:
matrix:
os:
- "macos-15"
- "ubuntu-24.04"
runs-on: "${{matrix.os}}"
steps:
- uses: "actions/checkout@v4"
with:
submodules: "recursive"
- name: "Install task"
shell: "bash"
run: "npm install -g @go-task/cli"
- name: "Install uv"
shell: "bash"
run: "curl --fail --location --silent --show-error https://astral.sh/uv/install.sh | sh"
- name: "Run lint task"
shell: "bash"
run: "task lint:check"