Skip to content

fix(ci): restore working trunk config on main (#629) #82

fix(ci): restore working trunk config on main (#629)

fix(ci): restore working trunk config on main (#629) #82

Workflow file for this run

# =============================================================================
# Trunk Check — Unified linting/formatting in GitHub Actions
# =============================================================================
# Handles: ruff, mypy, clippy, golangci-lint, prettier, eslint, shellcheck, etc.
# Free for open source; cached for fast runs
# =============================================================================
name: Trunk Check
on:
pull_request:
push:
branches: [main, develop]
schedule:
- cron: '0 3 * * 1' # Weekly Monday 3am UTC
concurrency:
group: trunk-${{ github.ref }}
cancel-in-progress: true
jobs:
trunk-check:
name: Lint & Format
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Trunk Check
uses: trunk-io/trunk-action@04ba50e7658c81db7356da96657e6e77f220bfa3 # v1.3.1
- name: Trunk Upgrade (on schedule only)
if: github.event_name == 'schedule'
uses: trunk-io/trunk-action@04ba50e7658c81db7356da96657e6e77f220bfa3 # v1.3.1
with:
trunk-args: --upgrade