Skip to content

SEC-090: Automated trusted workflow pinning (2024-10-28) #363

SEC-090: Automated trusted workflow pinning (2024-10-28)

SEC-090: Automated trusted workflow pinning (2024-10-28) #363

Workflow file for this run

---
name: Unit Tests
on:
pull_request:
types: ['opened', 'synchronize']
paths:
- '**.go'
- 'vendor/**'
- '.github/workflows/**'
concurrency:
group: 'unit-${{ github.head_ref }}'
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '1.18.3'
- run: bash scripts/gogetcookie.sh
- run: make test
env:
GITHUB_ACTIONS_STAGE: "UNIT_TESTS"