mirror of
https://github.com/storytold/irsa-manager.git
synced 2026-11-20 00:30:41 +01:00
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.
21 lines
421 B
YAML
21 lines
421 B
YAML
name: CI
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- "main"
|
|
jobs:
|
|
test:
|
|
name: Unit, Integration Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Harden runner
|
|
uses: step-security/harden-runner@v2.22.4
|
|
with:
|
|
egress-policy: audit
|
|
- uses: actions/checkout@v4.4.0
|
|
- uses: actions/setup-go@v5.6.0
|
|
with:
|
|
go-version-file: go.mod
|
|
- run: make test
|