-
Notifications
You must be signed in to change notification settings - Fork 31
31 lines (26 loc) · 753 Bytes
/
ci.yml
File metadata and controls
31 lines (26 loc) · 753 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
name: Run CI
on:
push:
branches: [main]
paths-ignore:
- "**.md" # Do not need to run CI for markdown changes.
pull_request:
branches: [main]
paths-ignore:
- "**.md"
jobs:
ci-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # If you only need the current version keep this.
- name: Get Rust version
id: rust-version
run: cat ./.github/variables/rust-versions.env >> $GITHUB_OUTPUT
- name: Setup rust tooling
run: |
rustup override set ${{ steps.rust-version.outputs.target }}
rustup component add rustfmt clippy
- uses: ./.github/actions/ci
- uses: ./.github/actions/build-docs