diff --git a/.github/workflows/actions/cache-apt-pkgs-action b/.github/workflows/actions/cache-apt-pkgs-action deleted file mode 160000 index f2fc6d1..0000000 --- a/.github/workflows/actions/cache-apt-pkgs-action +++ /dev/null @@ -1 +0,0 @@ -Subproject commit f2fc6d1af4d6abf8a4dcd37fd74a9a15c2273b9f diff --git a/.github/workflows/actions/cargo-install b/.github/workflows/actions/cargo-install deleted file mode 160000 index 904927d..0000000 --- a/.github/workflows/actions/cargo-install +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 904927dbe77864e0f2281519fe9d5bd097a220b3 diff --git a/.github/workflows/luacheck.yml b/.github/workflows/luacheck.yml index 994c401..39aea16 100644 --- a/.github/workflows/luacheck.yml +++ b/.github/workflows/luacheck.yml @@ -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 . diff --git a/.github/workflows/stylua.yml b/.github/workflows/stylua.yml index 400c45c..7035a8b 100644 --- a/.github/workflows/stylua.yml +++ b/.github/workflows/stylua.yml @@ -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 . diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 6ed5d13..0000000 --- a/.gitmodules +++ /dev/null @@ -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