From f234f94171cef312eb8f91b0ff45da82c12ea5f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Durr?= Date: Sun, 5 Nov 2023 23:49:45 +0100 Subject: [PATCH] Removed unused xapian action --- .github/actions/setup_project/action.yml | 8 ++++---- .github/actions/setup_xapian/action.yml | 10 ---------- .github/workflows/ci.yml | 1 - 3 files changed, 4 insertions(+), 15 deletions(-) delete mode 100644 .github/actions/setup_xapian/action.yml diff --git a/.github/actions/setup_project/action.yml b/.github/actions/setup_project/action.yml index b1eb6e2a..f81ceda5 100644 --- a/.github/actions/setup_project/action.yml +++ b/.github/actions/setup_project/action.yml @@ -6,13 +6,13 @@ runs: - name: Install apt packages uses: awalsh128/cache-apt-pkgs-action@latest with: - packages: gettext libxapian-dev libgraphviz-dev - version: 1.0 # increment to reset cache + packages: gettext libgraphviz-dev + version: 1.0 # increment to reset cache - name: Install dependencies run: | sudo apt update - sudo apt install gettext libxapian-dev libgraphviz-dev + sudo apt install gettext libgraphviz-dev shell: bash - name: Set up python @@ -25,7 +25,7 @@ runs: uses: actions/cache@v3 with: path: ~/.local - key: poetry-0 # increment to reset cache + key: poetry-0 # increment to reset cache - name: Install Poetry if: steps.cached-poetry.outputs.cache-hit != 'true' diff --git a/.github/actions/setup_xapian/action.yml b/.github/actions/setup_xapian/action.yml deleted file mode 100644 index 6678f581..00000000 --- a/.github/actions/setup_xapian/action.yml +++ /dev/null @@ -1,10 +0,0 @@ -name: "Setup xapian" -description: "Setup the xapian indexes" -runs: - using: composite - steps: - - name: Setup xapian index - run: | - mkdir -p /dev/shm/search_indexes - ln -s /dev/shm/search_indexes sith/search_indexes - shell: bash diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae55dc1b..2d785826 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,6 @@ jobs: - name: Check out repository uses: actions/checkout@v3 - uses: ./.github/actions/setup_project - - uses: ./.github/actions/setup_xapian - uses: ./.github/actions/compile_messages - name: Run tests run: poetry run coverage run ./manage.py test