Update license and remove gh specific files
This commit is contained in:
parent
a0a5c6c360
commit
ecc741e424
3 changed files with 1 additions and 74 deletions
44
.github/workflows/ci.yml
vendored
44
.github/workflows/ci.yml
vendored
|
|
@ -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
|
|
||||||
29
.github/workflows/lint.yml
vendored
29
.github/workflows/lint.yml
vendored
|
|
@ -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
|
|
||||||
2
LICENSE
2
LICENSE
|
|
@ -1,6 +1,6 @@
|
||||||
The MIT License (MIT)
|
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
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue