Skip to content

Commit a160963

Browse files
committed
add release action
1 parent f2cd046 commit a160963

File tree

14 files changed

+1328
-28
lines changed

14 files changed

+1328
-28
lines changed

.github/workflows/ci.yaml

+46-9
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,59 @@
1-
name: ci
1+
name: Continuous Integration
22

33
on: [push]
44

55
env:
66
CARGO_TERM_COLOR: always
77

88
jobs:
9-
test:
10-
name: Build
9+
build:
1110
runs-on: ubuntu-latest
11+
1212
steps:
13-
- uses: actions/checkout@v4
13+
- name: Clone repo
14+
uses: actions/checkout@v4
1415
with:
15-
submodules: true
16-
- uses: dtolnay/rust-toolchain@stable
16+
submodules: recursive
17+
18+
- name: Setup Rust
19+
uses: actions-rs/toolchain@v1
1720
with:
21+
profile: minimal
1822
toolchain: stable
1923
target: wasm32-wasi
20-
components: clippy
21-
- run: cargo build --all
22-
- run: cargo clippy --all
24+
components: rustfmt, clippy
25+
26+
- name: Build
27+
uses: actions-rs/cargo@v1
28+
with:
29+
command: build
30+
args: --release --all-features
31+
32+
- name: Documentation
33+
uses: actions-rs/cargo@v1
34+
with:
35+
command: doc
36+
37+
- name: Install cargo-audit binary crate
38+
uses: actions-rs/[email protected]
39+
with:
40+
crate: cargo-audit
41+
version: latest
42+
use-tool-cache: true
43+
44+
- name: Annotate commit with clippy warnings
45+
uses: actions-rs/clippy-check@v1
46+
with:
47+
token: ${{ secrets.GITHUB_TOKEN }}
48+
args: --all-features
49+
50+
- name: Security audit
51+
uses: actions-rs/audit-check@v1
52+
with:
53+
token: ${{ secrets.GITHUB_TOKEN }}
54+
55+
- name: Run Release PR
56+
uses: MarcoIeni/[email protected]
57+
env:
58+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

.gitignore

+1-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
# will have compiled files and executables
33
debug/
44
target/
5-
6-
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
7-
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
8-
Cargo.lock
5+
.idea/
96

107
# These are backup files generated by rustfmt
118
**/*.rs.bk

CHANGELOG.md

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
## [Unreleased]
8+
9+
## [0.1.5](https://github.com/G-Core/FastEdgeSDK/releases/tag/fastedge-v0.1.5) - 2024-05-08
10+
11+
### Fixed
12+
- fix rust sdk README.md link
13+
- fix workspace member versions
14+
15+
### Other
16+
- add release action
17+
- update wit_bindgen to latest version
18+
- refactored to mono rust sdk and add classification-nn-demo
19+
- Added watermark Rust example ([#8](https://github.com/G-Core/FastEdgeSDK/pull/8))
20+
- add wasi-nn wit binding
21+
- forward wasi-nn spec
22+
- set github public hosted runner
23+
- Copyright update and description
24+
- bump patch version
25+
- readme description
26+
- Create README.md
27+
- added HTTP Method Options to supported method list
28+
- renamed rust dir to fastedge-rust-sdk
29+
- allow semver dependencies
30+
- add rust workspace cargo
31+
- first version of rust sdk
32+
- Initial commit

0 commit comments

Comments
 (0)