-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (36 loc) · 992 Bytes
/
check.yml
File metadata and controls
40 lines (36 loc) · 992 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Check
on:
workflow_dispatch:
push:
branches: [master, release-*]
pull_request:
branches: [master, release-*]
schedule:
- cron: "0 0 * * *"
env:
CARGO_TERM_COLOR: always
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: libxtst-dev libevdev-dev libxdo-dev
version: 1.0
- name: Dependencies
run: |
sudo apt-get install libxtst-dev libevdev-dev libxdo-dev --assume-yes
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: Install afrim
run: |
cargo install --git https://github.com/pythonbrad/afrim
- name: Checking config files
run: |
for f in $(find -type d -maxdepth 1 -iname "[a-Z]*"); do\
echo Checking of $f...;\
afrim $f/$f.toml --check;\
done