-
Notifications
You must be signed in to change notification settings - Fork 0
69 lines (62 loc) · 1.48 KB
/
pragma.yaml
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
57
58
59
60
61
62
63
64
65
66
67
68
69
name: Pragma CI
on:
workflow_dispatch:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
toml-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout toml files
uses: actions/checkout@v4
- name: Run toml check
run: npx @taplo/cli fmt --config ./taplo/taplo.toml --check
Tests:
name: Run tests Coverage
runs-on: ubuntu-latest
permissions:
security-events: write
checks: write
pull-requests: write
steps:
- name: Checkout toml files
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: astraly-labs/workflows/rust/test@v1.0.6
with:
fail_ci: false
Lint:
permissions:
security-events: write
checks: write
pull-requests: write
runs-on: ubuntu-latest
name: Rust Code Linting checks
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Rust Lint
uses: astraly-labs/workflows/rust/lint@v1.0.6
with:
token: ${{ secrets.GITHUB_TOKEN }}
scanner:
permissions:
security-events: write
checks: write
pull-requests: write
runs-on: ubuntu-latest
name: Rust Code Scanning checks
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Rust Scanner
uses: astraly-labs/workflows/rust/scan@v1.0.6
with:
codeql_upload: false