feat: use detached spawn for agent #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Check: Lint" | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
push: | ||
branches: | ||
- main | ||
permissions: | ||
contents: read | ||
jobs: | ||
lint-code: | ||
name: "Check: Lint" | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: read | ||
statuses: write | ||
steps: | ||
- name: "Setup: Harden Runner" | ||
uses: step-security/harden-runner@1b05615854632b887b69ae1be8cbefe72d3ae423 # v2.6.0 | ||
with: | ||
egress-policy: audit | ||
- name: "Setup: Checkout" | ||
id: checkout | ||
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | ||
- name: "Setup: PNPM" | ||
uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0 | ||
with: | ||
version: 8.9.0 | ||
- name: "Setup: Node" | ||
id: setup-node | ||
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1 | ||
with: | ||
node-version: 20 | ||
cache: pnpm | ||
- name: "Setup: Install Dependencies" | ||
id: install | ||
run: pnpm install && pnpm run gen | ||
- name: "Check: Linter" | ||
id: super-linter | ||
uses: super-linter/super-linter/slim@3213b9ea991e2d45d760ea8a76aaebad8a2bdb1a # v5.4.0 | ||
env: | ||
DEFAULT_BRANCH: main | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
TYPESCRIPT_DEFAULT_STYLE: prettier | ||
VALIDATE_JSCPD: false | ||
lint-action: | ||
Check failure on line 55 in .github/workflows/check.linter.yml GitHub Actions / Check: LintInvalid workflow file
|
||
name: "Check: Action Lint" | ||
permissions: | ||
contents: read | ||
uses: elide-dev/build-infra/.github/workflows/lint.action.yml@main |