Skip to content

Use latest trivy version #5 #10

Use latest trivy version #5

Use latest trivy version #5 #10

Workflow file for this run

name: main
on: push
jobs:
scan_fs:
runs-on: ubuntu-latest
container:
image: aquasec/trivy:0.54.1
steps:
- name: Checkout
uses: actions/checkout@v4
- name: scan fs
run: trivy fs --quiet --exit-code 1 .
unittest:
runs-on: ubuntu-latest
container:
image: mwalbeck/python-poetry:1-3.8
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run unittest
run: |
poetry install
poetry run pytest
poetry run pylint src test || exit 0 # Ignore pylint failures as they are not as important as tests