-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (31 loc) · 938 Bytes
/
ci-build.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
name: CI Build
on:
push:
branches: [main, dev]
pull_request:
branches: [main, dev]
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Environment
uses: ./.github/actions/setup
- name: Setup Golang
uses: actions/setup-go@v5
with:
go-version: '>=1.17.0'
- name: Installing Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
# - name: Building with Cargo
# uses: actions-rs/cargo@v1
# with:
# command: build
# args: --release --manifest-path Cargo.toml
# use-cross: true
- name: Build packages
shell: bash
run: pnpm build