mirror of
https://github.com/jiriks74/presence.nvim
synced 2024-12-29 19:32:05 +01:00
Jiří Štefka
655aa1d9c7
* feat(ci/cd): Make workflows compatible with medium act images for reference: https://nektosact.com/usage/runners.html [69] Make workflow compatible with medium act images https://openproject.stefka.eu/work_packages/69 * fix(ci/cd): use sudo to install cargo
19 lines
455 B
YAML
19 lines
455 B
YAML
name: StyLua
|
|
on: [push, pull_request]
|
|
jobs:
|
|
StyLuacheck:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Install cargo
|
|
run: sudo apt update && sudo apt install -y cargo
|
|
|
|
- name: Install StyLua from crates.io
|
|
uses: baptiste0928/cargo-install@v3
|
|
with:
|
|
crate: stylua
|
|
version: 0.20.0
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Check code formatting
|
|
run: stylua -c .
|