Skip to content

Commit

Permalink
Revert "fix(ci): Use submodules for actions"
Browse files Browse the repository at this point in the history
Breaks `lazy.nvim` because of the submodules

Fixes #67

This reverts commit 8117a07.
  • Loading branch information
jiriks74 committed Dec 13, 2024
1 parent 8117a07 commit c850b9e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 23 deletions.
1 change: 0 additions & 1 deletion .github/workflows/actions/cache-apt-pkgs-action
Submodule cache-apt-pkgs-action deleted from f2fc6d
1 change: 0 additions & 1 deletion .github/workflows/actions/cargo-install
Submodule cargo-install deleted from 904927
9 changes: 3 additions & 6 deletions .github/workflows/luacheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
11 changes: 4 additions & 7 deletions .github/workflows/stylua.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 0 additions & 8 deletions .gitmodules

This file was deleted.

0 comments on commit c850b9e

Please sign in to comment.