From ecc741e4241aea0c779393517d539e469c423b5d Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Mon, 21 Oct 2024 14:46:47 +0100 Subject: [PATCH] Update license and remove gh specific files --- .github/workflows/ci.yml | 44 -------------------------------------- .github/workflows/lint.yml | 29 ------------------------- LICENSE | 2 +- 3 files changed, 1 insertion(+), 74 deletions(-) delete mode 100644 .github/workflows/ci.yml delete mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index a73ec28..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: Tests - -on: [push, pull_request] - -jobs: - unit_tests: - name: unit tests - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - include: - - os: ubuntu-22.04 - url: https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.tar.gz - steps: - - uses: actions/checkout@v3 - - id: todays-date - run: echo date="$(date +%F)" >> $GITHUB_OUTPUT - shell: bash - - name: Restore cache for today's nightly. - uses: actions/cache@v2 - with: - path: _neovim - key: ${{ runner.os }}-x64-${{ steps.todays-date.outputs.date }} - - - name: Prepare - run: | - mkdir -p ~/.local/share/nvim/site/pack/vendor/start - git clone --depth 1 https://github.com/nvim-lua/plenary.nvim ~/.local/share/nvim/site/pack/vendor/start/plenary.nvim - - ln -s $(pwd) ~/.local/share/nvim/site/pack/vendor/start - - # sudo apt install go - test -d _neovim || { - mkdir -p _neovim - curl -sL ${{ matrix.url }} | tar xzf - --strip-components=1 -C "${PWD}/_neovim" - } - - echo "${PWD}/_neovim/bin" >> $GITHUB_PATH - - - name: Run tests - run: | - nvim --headless -u tests/minimal.vim -c "q" - make test diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml deleted file mode 100644 index 0e68356..0000000 --- a/.github/workflows/lint.yml +++ /dev/null @@ -1,29 +0,0 @@ -# This is a basic workflow to help you get started with Actions - -name: lint with luacheck - -# Controls when the action will run. -on: [push, pull_request] - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - # This workflow contains a single job called "build" - luacheck: - name: Luacheck - # The type of runner that the job will run on - runs-on: ubuntu-20.04 - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - - # Runs a single command using the runners shell - - name: Prepare - run: | - sudo apt-get update - sudo apt-get install luarocks - sudo luarocks install luacheck - - - name: Lint - run: sudo make lint diff --git a/LICENSE b/LICENSE index f72f228..a1ef0c1 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2022 almo7aya (Ali Almohaya) +Copyright (c) 2022 almo7aya (Ali Almohaya), 2024 (Maximilian Friedersdorff) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal