From becebebd3509c02e871c99be55556269be1def1b Mon Sep 17 00:00:00 2001 From: Michael Hoffmann Date: Sun, 9 Apr 2023 14:13:30 +0200 Subject: [PATCH] ci: fix acceptance workflow --- .github/workflows/acceptance.yaml | 18 ++++++++++++++---- CHANGELOG.md | 3 +++ 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/.github/workflows/acceptance.yaml b/.github/workflows/acceptance.yaml index a2512d2..28856d6 100644 --- a/.github/workflows/acceptance.yaml +++ b/.github/workflows/acceptance.yaml @@ -6,11 +6,21 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: nixbuild/nix-quick-install-action@v5 - - run: nix-shell --run 'tree-sitter test' + - uses: cachix/install-nix-action@v14.1 + with: + nix_path: nixpkgs=channel:nixos-unstable + - uses: dx-oss/nix-shell-action@v11 + with: + file: shell.nix + script: tree-sitter test acceptance: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: nixbuild/nix-quick-install-action@v5 - - run: nix-shell --run 'tree-sitter parse --quiet --stat example/real_world_stuff/*/*' + - uses: cachix/install-nix-action@v14.1 + with: + nix_path: nixpkgs=channel:nixos-unstable + - uses: dx-oss/nix-shell-action@v11 + with: + file: shell.nix + script: tree-sitter parse --quiet --stat example/real_world_stuff/*/* diff --git a/CHANGELOG.md b/CHANGELOG.md index 00867f4..2a84695 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ feature * add dialects so we can have different queries in `nvim-treesitter` * fix structure of comments in block bodies +fix: +* fix ci acceptance workflow + housekeeping: * reformat using LSPs, ditch editorconfig