Skip to content

Bump cryptography from 41.0.3 to 41.0.4 (#75) #130

Bump cryptography from 41.0.3 to 41.0.4 (#75)

Bump cryptography from 41.0.3 to 41.0.4 (#75) #130

Workflow file for this run

name: Run CI
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint Code
runs-on: ubuntu-latest
steps:
- name: Setup CI
uses: lava-nc/ci-setup-composite-action@v1.1
with:
repository: 'Lava-DNF'
- name: Run flakeheaven (flake8)
run: poetry run flakeheaven lint src/lava tests/
security-lint:
name: Security Lint Code
runs-on: ubuntu-latest
steps:
- name: Setup CI
uses: lava-nc/ci-setup-composite-action@v1.1
with:
repository: 'Lava-DNF'
- name: Run bandit
uses: tj-actions/bandit@v5.1
with:
targets: |
src/lava/.
options: "-r --format custom --msg-template '{abspath}:{line}: {test_id}[bandit]: {severity}: {msg}'"
unit-tests:
name: Unit Test Code + Coverage
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Setup CI
uses: lava-nc/ci-setup-composite-action@v1.1
with:
repository: 'Lava-DNF'
- name: Run unit tests
run: poetry run pytest