Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf(installer): add ci test for installer #423

Merged
merged 64 commits into from
Jan 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
4009d98
perf(ci): installer test
linrongbin16 Dec 31, 2023
18b0324
Update ci.yml
linrongbin16 Dec 31, 2023
25ba7e5
Update ci.yml
linrongbin16 Dec 31, 2023
0e83212
Update ci.yml
linrongbin16 Dec 31, 2023
c076773
Update ci.yml
linrongbin16 Dec 31, 2023
0ff613f
Update ci.yml
linrongbin16 Dec 31, 2023
a9ab4af
Update ci.yml
linrongbin16 Dec 31, 2023
7e55c0a
Update ci.yml
linrongbin16 Dec 31, 2023
98101d1
Update ci.yml
linrongbin16 Dec 31, 2023
cfde82b
Update ci.yml
linrongbin16 Dec 31, 2023
9ca9292
Update ci.yml
linrongbin16 Dec 31, 2023
5a3e0cf
Update ci.yml
linrongbin16 Dec 31, 2023
92e32be
Update ci.yml
linrongbin16 Dec 31, 2023
e3d2e17
Update ci.yml
linrongbin16 Dec 31, 2023
c0d07e0
Update ci.yml
linrongbin16 Dec 31, 2023
af008ec
Update ci.yml
linrongbin16 Dec 31, 2023
6c02d61
Update ci.yml
linrongbin16 Dec 31, 2023
397972c
chore
linrongbin16 Jan 1, 2024
70d6c10
chore
linrongbin16 Jan 1, 2024
e026703
chore
linrongbin16 Jan 1, 2024
6945971
chore
linrongbin16 Jan 1, 2024
0f8ffba
chore
linrongbin16 Jan 1, 2024
d524aea
chore
linrongbin16 Jan 1, 2024
de0bd13
chore
linrongbin16 Jan 1, 2024
3b12751
chore
linrongbin16 Jan 1, 2024
e57a485
chore
linrongbin16 Jan 1, 2024
ce91f0d
chore
linrongbin16 Jan 1, 2024
f49bfb8
chore
linrongbin16 Jan 1, 2024
c4bf6b3
chore
linrongbin16 Jan 1, 2024
0cc6484
chore
linrongbin16 Jan 1, 2024
eb77713
chore
linrongbin16 Jan 1, 2024
9b9ac2c
chore
linrongbin16 Jan 1, 2024
a023bf9
chore
linrongbin16 Jan 1, 2024
e014bee
chore
linrongbin16 Jan 1, 2024
d5fc054
chore
linrongbin16 Jan 1, 2024
58bc148
chore
linrongbin16 Jan 1, 2024
17827b7
chore
linrongbin16 Jan 1, 2024
500f1db
chore
linrongbin16 Jan 1, 2024
c8f10ca
chore
linrongbin16 Jan 1, 2024
8e0452d
chore
linrongbin16 Jan 1, 2024
71779a0
chore
linrongbin16 Jan 1, 2024
eace0c1
chore
linrongbin16 Jan 1, 2024
daa4c94
chore
linrongbin16 Jan 1, 2024
d10c6f9
chore
linrongbin16 Jan 1, 2024
3c96884
chore
linrongbin16 Jan 1, 2024
a21e54c
chore
linrongbin16 Jan 1, 2024
6da5876
chore
linrongbin16 Jan 1, 2024
8093614
chore
linrongbin16 Jan 1, 2024
bf61b0c
chore
linrongbin16 Jan 1, 2024
3278be4
chore
linrongbin16 Jan 1, 2024
ae8046d
chore
linrongbin16 Jan 1, 2024
79afbe0
chore
linrongbin16 Jan 1, 2024
e249d6e
chore
linrongbin16 Jan 1, 2024
b0bdfef
chore
linrongbin16 Jan 1, 2024
cbe9078
chore
linrongbin16 Jan 1, 2024
254aa45
chore
linrongbin16 Jan 1, 2024
4eded64
chore
linrongbin16 Jan 1, 2024
66fe61a
chore
linrongbin16 Jan 1, 2024
b5987e0
chore
linrongbin16 Jan 1, 2024
ef7c10e
chore
linrongbin16 Jan 1, 2024
7898bf2
chore
linrongbin16 Jan 1, 2024
8967309
chore
linrongbin16 Jan 1, 2024
66e5f0c
chore
linrongbin16 Jan 1, 2024
7e1ef0f
chore
linrongbin16 Jan 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
195 changes: 0 additions & 195 deletions .github/ISSUE_TEMPLATE/bug.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/question.md

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,46 @@ jobs:
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "chore(pr): auto-commit"
ubuntu_installer:
name: Ubuntu Installer
runs-on: ubuntu-latest
steps:
- name: Get branch
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch
- name: Install lin.nvim
shell: bash
run: |
set -x
echo '${{ steps.extract_branch.outputs.branch }}'
export BRANCH_NAME=${{ steps.extract_branch.outputs.branch }}
sudo sh -c "git clone --single-branch --branch $BRANCH_NAME --depth=1 /~https://github.com/linrongbin16/lin.nvim ~/.config/nvim && cd ~/.config/nvim && sudo bash -euxo pipefail ./install.sh"
macos_installer:
name: MacOS Installer
runs-on: macos-latest
steps:
- uses: Homebrew/actions/setup-homebrew@master
- name: Get branch
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch
- name: Install lin.nvim
shell: bash
run: |
set -x
echo '${{ steps.extract_branch.outputs.branch }}'
echo ${{ steps.extract_branch.outputs.branch }}
git clone --single-branch --branch ${{ steps.extract_branch.outputs.branch }} --depth=1 /~https://github.com/linrongbin16/lin.nvim ~/.config/nvim && cd ~/.config/nvim && bash -euxo pipefail ./install.sh
release:
name: Release
if: ${{ github.ref == 'refs/heads/main' }}
needs:
- typecheck
- luacheck
- stylua
- ubuntu_installer
- macos_installer
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
Expand Down
80 changes: 0 additions & 80 deletions deps/apt.sh

This file was deleted.

Loading