mirror of
https://github.com/jiriks74/presence.nvim
synced 2024-12-28 19:02:35 +01:00
fix(ci): Use submodules for actions
I've moved to forgejo which uses https://code.forgejo.org/actions/ by default
This commit is contained in:
parent
df0a0b52cd
commit
a4bde94b49
5 changed files with 23 additions and 7 deletions
1
.github/workflows/actions/cache-apt-pkgs-action
vendored
Submodule
1
.github/workflows/actions/cache-apt-pkgs-action
vendored
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit f2fc6d1af4d6abf8a4dcd37fd74a9a15c2273b9f
|
1
.github/workflows/actions/cargo-install
vendored
Submodule
1
.github/workflows/actions/cargo-install
vendored
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 904927dbe77864e0f2281519fe9d5bd097a220b3
|
9
.github/workflows/luacheck.yml
vendored
9
.github/workflows/luacheck.yml
vendored
|
@ -4,13 +4,16 @@ jobs:
|
||||||
Luacheck:
|
Luacheck:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
|
||||||
- name: Update repositories
|
- name: Update repositories
|
||||||
run: sudo apt update
|
run: sudo apt update
|
||||||
- name: Install Luacheck
|
- name: Install Luacheck
|
||||||
uses: awalsh128/cache-apt-pkgs-action@latest
|
uses: ./.github/workflows/actions/cache-apt-pkgs-action
|
||||||
with:
|
with:
|
||||||
packages: lua-check
|
packages: lua-check
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: Luacheck linter
|
- name: Luacheck linter
|
||||||
run: luacheck --config .luacheckrc .
|
run: luacheck --config .luacheckrc .
|
||||||
|
|
11
.github/workflows/stylua.yml
vendored
11
.github/workflows/stylua.yml
vendored
|
@ -4,20 +4,23 @@ jobs:
|
||||||
StyLua:
|
StyLua:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
|
||||||
- name: Update repositories
|
- name: Update repositories
|
||||||
run: sudo apt update
|
run: sudo apt update
|
||||||
- name: Install cargo
|
- name: Install cargo
|
||||||
uses: awalsh128/cache-apt-pkgs-action@latest
|
uses: ./.github/workflows/actions/cache-apt-pkgs-action
|
||||||
with:
|
with:
|
||||||
packages: cargo libssh2-1
|
packages: cargo libssh2-1
|
||||||
|
|
||||||
- name: Install StyLua from crates.io
|
- name: Install StyLua from crates.io
|
||||||
uses: baptiste0928/cargo-install@v3
|
uses: ./.github/workflows/actions/cargo-install
|
||||||
with:
|
with:
|
||||||
crate: stylua
|
crate: stylua
|
||||||
version: 0.20.0
|
version: 0.20.0
|
||||||
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: Check code formatting
|
- name: Check code formatting
|
||||||
run: stylua -c .
|
run: stylua -c .
|
||||||
|
|
8
.gitmodules
vendored
Normal file
8
.gitmodules
vendored
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[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
|
Loading…
Reference in a new issue