Skip to content

fix(ci): Use submodules for actions #193

fix(ci): Use submodules for actions

fix(ci): Use submodules for actions #193

Workflow file for this run

name: StyLua
on: [push, pull_request]
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
with:
packages: cargo libssh2-1
- name: Install StyLua from crates.io
uses: ./.github/workflows/actions/cargo-install@v3
with:
crate: stylua
version: 0.20.0
- name: Check code formatting
run: stylua -c .