From cfc8075e06b2a51e55e76f346fd3a4b181a57ac3 Mon Sep 17 00:00:00 2001 From: gffranco Date: Wed, 24 Jun 2026 00:08:31 +0000 Subject: [PATCH] ci: remove vim/neovim plugin stages, fix release yaml --- .gitea/workflows/ci.yaml | 59 +---------------------------------- .gitea/workflows/release.yaml | 3 +- 2 files changed, 2 insertions(+), 60 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 0c79516..0bdf32f 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -68,61 +68,4 @@ jobs: key: ${{ runner.os }}-cargo-test-${{ hashFiles('**/Cargo.lock', '**/Cargo.toml') }} restore-keys: | ${{ runner.os }}-cargo-test- - - run: cargo test --workspace --all-targets - - keymaps: - name: editor keymaps - runs-on: ubuntu-latest - # Serialise behind the cargo jobs so we never compete with them - # for runners, and inherit their warm cargo cache instead of - # forcing a release build of our own. - needs: test - timeout-minutes: 10 - steps: - - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@1.83 - - uses: actions/cache@v4 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target - key: ${{ runner.os }}-cargo-test-${{ hashFiles('**/Cargo.lock', '**/Cargo.toml') }} - restore-keys: | - ${{ runner.os }}-cargo-test- - - name: install Neovim + Vim - run: | - set -euo pipefail - # Test the minimum supported Neovim version (0.11.0) so we - # catch API regressions at the bottom of the supported range. - # Pinning to a specific patch version; bump when 0.12 ships. - NVIM_VER=v0.11.0 - curl -fsSL -o /tmp/nvim.tar.gz \ - "https://github.com/neovim/neovim/releases/download/${NVIM_VER}/nvim-linux-x86_64.tar.gz" - sudo tar -xzf /tmp/nvim.tar.gz -C /opt - sudo ln -sf /opt/nvim-linux-x86_64/bin/nvim /usr/local/bin/nvim - nvim --version | head -1 - # Vim from apt is fine — only the pure-VimL keymaps run there. - sudo apt-get update -qq - sudo apt-get install -y --no-install-recommends vim - vim --version | head -1 - - name: run Neovim keymap harness - run: ./development/tests/test-keymaps.sh - - name: run Vim keymap harness - run: ./development/tests/test-keymaps-vim.sh - - name: run Neovim config parity harness - run: ./development/tests/test-config.sh - - name: run Vim config parity harness - run: ./development/tests/test-config-vim.sh - - name: run Neovim calendar integration harness - run: ./development/tests/test-calendar.sh - - name: run Vim calendar integration harness - run: ./development/tests/test-calendar-vim.sh - - name: run Vim vars-shim harness - run: ./development/tests/test-vars-vim.sh - - name: run Vim vimwiki-config compat harness - run: ./development/tests/test-vimwiki-compat-vim.sh - - name: run Neovim global-shorthand harness - run: ./development/tests/test-global-shorthand.sh - - name: run Vim coc-registration harness - run: ./development/tests/test-coc-register-vim.sh + - run: cargo test --workspace --all-targets \ No newline at end of file diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index ac05433..e68b280 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -83,8 +83,7 @@ jobs: git config user.name "gitea-actions" git config user.email "gitea-actions@users.noreply.code.gfran.co" git add Cargo.toml Cargo.lock \ - crates/nuwiki-lsp/Cargo.toml crates/nuwiki-ls/Cargo.toml \ - plugin/nuwiki.vim + crates/nuwiki-lsp/Cargo.toml crates/nuwiki-ls/Cargo.toml git commit -m "chore(release): $VER" git tag -a "$TAG" -m "nuwiki $VER" git push origin "HEAD:${GITHUB_REF_NAME}"