-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (32 loc) · 903 Bytes
/
ci.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
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
env:
PROJECT_NAME: basic-tests
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Expand template
uses: cargo-generate/cargo-generate-action@latest
with:
name: ${{ env.PROJECT_NAME }}
arguments: >-
--define=include_mdbook=true
--define=mdbook_pages_url="XXX"
--define=include_precommit=true
--define=codecov="XXX"
--define=architecture_url="XXX"
--define=repository_path="XXX"
- name: Build setup
uses: ./.github/actions/build_setup
- run: |
mv $PROJECT_NAME ${{ runner.temp }}/
cd ${{ runner.temp }}/$PROJECT_NAME
# TODO: add more test / do CI steps?
cargo check