summaryrefslogtreecommitdiff
path: root/.github/workflows/checker.yml
blob: 707433b67e400da5dfbca3bb6059ca2e7bba5a5b (plain)
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
name: "Checker"
on:  # yamllint disable-line rule:truthy
  schedule:
    - cron: "0 4 * * 5"
  workflow_dispatch:

jobs:
  checker:
    name: Checker
    runs-on: ubuntu-22.04
    steps:
      - name: Checkout
        uses: actions/checkout@v4

      - name: Install Ubuntu packages
        run: |
          sudo ./utils/searxng.sh install packages

      - name: Set up Python
        uses: actions/setup-python@v5
        with:
          python-version: '3.11'
          architecture: 'x64'

      - name: Install Python dependencies
        run: |
          make V=1 install

      - name: Checker
        run: |
          make search.checker