-
Notifications
You must be signed in to change notification settings - Fork 18
56 lines (51 loc) · 1.44 KB
/
main.yml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
name: stratis-docs CI
# yamllint disable-line rule:truthy
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
docs-checks:
runs-on: ubuntu-latest
container: fedora:41 # CURRENT DEVELOPMENT ENVIRONMENT
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: dnf install -y make lyx 'dnf-command(copr)'
- name: Enable copr repo
run: dnf copr enable atim/zola --assumeyes
- name: Install zola
run: dnf install zola --assumeyes
- name: Run test
run: make -f Makefile check
ci-checks:
runs-on: ubuntu-latest
container: fedora:41 # CURRENT DEVELOPMENT ENVIRONMENT
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: dnf install -y make yamllint
- name: Run test
run: make -f Makefile yamllint
spelling-checks:
runs-on: ubuntu-latest
container: fedora:41 # CURRENT DEVELOPMENT ENVIRONMENT
steps:
- name: Install dependencies for Fedora
run: >
dnf install -y
clang
make
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
components: cargo
toolchain: 1.83.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
- uses: baptiste0928/cargo-install@v3
with:
crate: typos-cli
- name: Run test
run: make -f Makefile check-typos