Skip to content

feat: support XDG_CACHE_HOME and XDG_DATA_HOME #672

feat: support XDG_CACHE_HOME and XDG_DATA_HOME

feat: support XDG_CACHE_HOME and XDG_DATA_HOME #672

Workflow file for this run

name: Tests
on: [push, pull_request]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
stylua:
name: Stylua
runs-on: ubuntu-latest
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == true)
steps:
- uses: actions/checkout@v4
- uses: JohnnyMorganz/stylua-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: latest
args: --check .
tests:
name: tests
runs-on: ${{ matrix.os }}
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == true)
strategy:
matrix:
os: [ubuntu-latest, macos-14]
nvim-version: [v0.8.3, v0.9.5, v0.10.3]
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: leafo/gh-actions-lua@v10
with:
luaVersion: "5.1.5"
- uses: leafo/gh-actions-luarocks@v4
- name: Run nvim-test tests
run: nix shell nixpkgs#bash nixpkgs#just -c just test ${{ nvim-version }}

Check failure on line 43 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / Tests

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 43, Col: 14): Unrecognized named-value: 'nvim-version'. Located at position 1 within expression: nvim-version