Files
spark/.github/workflows/ci-linux.yml
Dylan M. Taylor 9ed9d5d24b ci: lock workflow actions through an actions.lock lockfile
Mutable action tags are a supply-chain risk: a moved tag runs different code
without a diff. Every workflow action is now pinned through
.github/workflows/actions.lock, and CI verifies the lockfile so an out-of-sync
or tampered one fails instead of running.
2026-11-12 10:06:54 -05:00

38 lines
767 B
YAML

name: Spark CI Linux
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
test:
name: spark
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['22.x']
steps:
- name: Harden runner
uses: step-security/harden-runner@v2.22.4
with:
egress-policy: audit
- name: Use Node.js ${{ matrix['node-version'] }}
uses: actions/setup-node@v4.4.0
with:
node-version: ${{ matrix['node-version'] }}
- name: Checkout Repo
uses: actions/checkout@v4.4.0
- name: Install dependencies
run: npm install
- name: Lint
run: npm run lint
- name: Tests
run: npm run test