Files
sec-actions/.gitea/workflows/ci.yaml
T
t.behrendt d33efe2071
CI / Test Setup Trivy amd64 (pull_request) Failing after 8s
CI / Test Setup DB (pull_request) Failing after 7s
CI / Test Setup Trivy arm64 (pull_request) Failing after 16s
test: run setup-trviy on both amd64 and arm64
2025-11-08 18:46:31 +01:00

41 lines
936 B
YAML

name: CI
on:
pull_request:
jobs:
test-setup-trivy:
strategy:
matrix:
arch: [amd64, arm64]
name: Test Setup Trivy ${{ matrix.arch }}
runs-on:
- ubuntu-latest
- linux_${{ matrix.arch }}
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- name: Setup Trivy
uses: ./setup-trivy
with:
version: v0.66.0
- name: Run Trivy
run: trivy --version
test-setup-db:
name: Test Setup DB
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- uses: ./setup-trivy
with:
version: v0.66.0
- name: Setup DB
uses: ./setup-db
with:
cache-dir: ${{ runner.temp }}/trivy
- name: Run Trivy
env:
TRIVY_CACHE_DIR: ${{ runner.temp }}/trivy
run: trivy fs --skip-db-update .