Fixed Authorization Failure #160
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: StyLua | |
on: [push, pull_request] | |
jobs: | |
StyLua: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Update repositories | |
run: sudo apt update | |
- name: Install cargo | |
uses: awalsh128/cache-apt-pkgs-action@latest | |
with: | |
packages: cargo libssh2-1 | |
- name: Install StyLua from crates.io | |
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 . |