diff options
| author | Ivan Gabaldon <igabaldon@inetol.net> | 2026-07-12 13:04:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-12 13:04:11 +0200 |
| commit | 21fa7b0be186077d084f1c87494d8496faa421cd (patch) | |
| tree | 3949560b6b0d74ae636efdc79ffd0c7b5dca932a /.github/workflows/integration.yml | |
| parent | 74b4e7c8d180b54d2ab5204d304d4bd579eab902 (diff) | |
[mod] ci: rework workflows (#6401)
* [mod] ci: rework workflows
mod: ubuntu 26.04 runners
mod: remove podman-static
mod: longer container cache
mod: remove useless pr information
mod: sort steps
fix: use commit ref on workflow_run children
fix: missing container workflow_run check
fix: nodejs cache
* [fix] ci: apply suggestions
https://github.com/searxng/searxng/pull/6401#discussion_r3566147961
https://github.com/searxng/searxng/pull/6401#discussion_r3566147970
Diffstat (limited to '.github/workflows/integration.yml')
| -rw-r--r-- | .github/workflows/integration.yml | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 8e08e18ac..bee626d3f 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -23,7 +23,7 @@ env: jobs: test: name: Python ${{ matrix.python-version }} - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 strategy: matrix: python-version: @@ -59,28 +59,23 @@ jobs: theme: name: Theme - runs-on: ubuntu-24.04-arm + runs-on: ubuntu-26.04-arm steps: - name: Setup Python uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 with: python-version: "${{ env.PYTHON_VERSION }}" - - name: Checkout - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - with: - persist-credentials: "false" - - name: Setup Node.js uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: - node-version-file: "./.nvmrc" + node-version: "26" + check-latest: "true" - - name: Setup cache Node.js - uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + - name: Checkout + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: - key: "nodejs-${{ runner.arch }}-${{ hashFiles('./.nvmrc', './package.json') }}" - path: "./client/simple/node_modules/" + persist-credentials: "false" - name: Setup cache Python uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 @@ -90,6 +85,14 @@ jobs: python-${{ env.PYTHON_VERSION }}-${{ runner.arch }}- path: "./local/" + - name: Setup cache Node.js + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + with: + key: "nodejs-${{ runner.arch }}-${{ hashFiles('**/package-lock.json') }}" + restore-keys: | + nodejs-${{ runner.arch }}- + path: "./client/simple/node_modules/" + - name: Setup venv run: make V=1 install |
