File: linux.yml

package info (click to toggle)
revelation 0.5.6-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 2,076 kB
  • sloc: python: 5,633; xml: 262; makefile: 12
file content (37 lines) | stat: -rw-r--r-- 868 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: revelation CI

on:
  push:
  pull_request:

jobs:
  ubuntu_build:
    runs-on: ubuntu-latest

    strategy:
      matrix:
        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']

    steps:
      - uses: actions/checkout@v5
        with:
          fetch-depth: 0

      - name: Set up Python ${{ matrix.python-version }}
        uses: actions/setup-python@v5
        with:
          python-version: ${{ matrix.python-version }}
          cache: 'pip'

      - name: Install dependencies
        run: |
          python -m pip install --upgrade pip
          pip install flake8 bandit

      - name: Security check with Bandit
        run: |
          bandit -r src/ -x src/bundle/luks.py

      - name: Lint with flake8
        run: |
          flake8 src/ --count --select=E1,E20,E23,E26,E27,E30,E40,E70,E711,E712,W391 --show-source --statistics