1
0
Fork 0
mirror of https://github.com/jiriks74/presence.nvim synced 2024-12-27 02:22:36 +01:00

Revert "fix(ci): Use submodules for actions"
All checks were successful
StyLua / StyLua (push) Successful in 2m3s
Luacheck / Luacheck (push) Successful in 21s

Breaks `lazy.nvim` because of the submodules

Fixes https://github.com/jiriks74/presence.nvim/issues/67

This reverts commit 8117a074d5.
This commit is contained in:
Jiří Štefka 2024-12-13 03:28:19 +01:00 committed by Jiří Štefka
parent 8117a074d5
commit c850b9e245
5 changed files with 7 additions and 23 deletions

@ -1 +0,0 @@
Subproject commit f2fc6d1af4d6abf8a4dcd37fd74a9a15c2273b9f

@ -1 +0,0 @@
Subproject commit 904927dbe77864e0f2281519fe9d5bd097a220b3

View file

@ -4,16 +4,13 @@ jobs:
Luacheck:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Update repositories
run: sudo apt update
- name: Install Luacheck
uses: ./.github/workflows/actions/cache-apt-pkgs-action
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: lua-check
- name: Checkout
uses: actions/checkout@v4
- name: Luacheck linter
run: luacheck --config .luacheckrc .

View file

@ -4,23 +4,20 @@ jobs:
StyLua:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Update repositories
run: sudo apt update
- name: Install cargo
uses: ./.github/workflows/actions/cache-apt-pkgs-action
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: cargo libssh2-1
- name: Install StyLua from crates.io
uses: ./.github/workflows/actions/cargo-install
uses: baptiste0928/cargo-install@v3
with:
crate: stylua
version: 0.20.0
- name: Checkout
uses: actions/checkout@v4
- name: Check code formatting
run: stylua -c .

8
.gitmodules vendored
View file

@ -1,8 +0,0 @@
[submodule ".github/workflows/actions/cache-apt-pkgs-action"]
path = .github/workflows/actions/cache-apt-pkgs-action
url = https://github.com/awalsh128/cache-apt-pkgs-action
branch = master
[submodule ".github/workflows/actions/cargo-install"]
path = .github/workflows/actions/cargo-install
url = https://github.com/baptiste0928/cargo-install
branch = main