-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (38 loc) · 1.07 KB
/
ci.yml
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
38
name: CI
on: push
permissions: {}
jobs:
lint-all:
name: Lint - All
runs-on: ubuntu-latest
permissions:
contents: read
statuses: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: super-linter/super-linter/slim@v7.1.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_PYTHON_BLACK: false
VALIDATE_PYTHON_FLAKE8: false
VALIDATE_PYTHON_ISORT: false
VALIDATE_PYTHON_MYPY: false
VALIDATE_PYTHON_PYINK: false
VALIDATE_PYTHON_PYLINT: false
lint-bookmarkmgr:
name: Lint - bookmarkmgr
# ubuntu-latest is still Ubuntu 22.04, which uses ancient Poetry version.
runs-on: ubuntu-24.04
defaults:
run:
working-directory: bookmarkmgr
steps:
- uses: actions/checkout@v4
- run: sudo apt-get update
- run: sudo apt-get install -y --no-install-recommends python3-poetry
- name: Don't build native modules
run: echo > build.py
- run: poetry install
- run: poetry run mypy .