From a5b7e9d1d52d1d3c049e785e52b4c58b5281fdea Mon Sep 17 00:00:00 2001 From: Thomas Vigouroux Date: Mon, 17 Oct 2022 10:53:41 +0200 Subject: [PATCH] ci: move the sr.ht CI --- .build.yml | 11 +++++++++++ .github/workflows/tests.yml | 28 ---------------------------- 2 files changed, 11 insertions(+), 28 deletions(-) create mode 100644 .build.yml delete mode 100644 .github/workflows/tests.yml diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..1306135 --- /dev/null +++ b/.build.yml @@ -0,0 +1,11 @@ +image: nixos/unstable +sources: + - "https://git.sr.ht/~vigoux/complementree.nvim" +tasks: + - ensure: | + cd azy.nvim + nix-shell --pure --run "make ensure" + + - test: | + cd azy.nvim + nix-shell --pure --run "make test" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml deleted file mode 100644 index fcb23b1..0000000 --- a/.github/workflows/tests.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Tests - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - uses: cachix/install-nix-action@v15 - with: - nix_path: nixpkgs=channel:nixos-unstable - extra_nix_config: | - access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - - - name: Check teal files - run: | - nix-shell --pure --run "make ensure" - - - name: Run tests - run: | - nix-shell --pure --run "make test" -- 2.45.2