-
Notifications
You must be signed in to change notification settings - Fork 5
37 lines (29 loc) · 723 Bytes
/
Copy pathci.yml
File metadata and controls
37 lines (29 loc) · 723 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
name: CI
on:
push:
branches:
- main
pull_request:
jobs:
build_and_test:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Setup Environment
uses: ./.github/actions/setup-env
- name: Code format check
run: cargo fmt --all --check
- name: Docs format check
uses: DavidAnson/markdownlint-cli2-action@v21
with:
config: '.markdownlint.json'
globs: '**/*.md'
- name: Build
run: cargo make build
- name: Test
run: cargo make test