Skip to content

Commit 76ad127

Browse files
committed
Update deps, add GitHub actions.
1 parent be7357c commit 76ad127

File tree

5 files changed

+849
-580
lines changed

5 files changed

+849
-580
lines changed

.github/workflows/clippy.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Clippy
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
clippy_check:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v4
13+
- run: rustup toolchain install stable --profile minimal
14+
- run: rustup component add clippy
15+
- uses: Swatinem/rust-cache@v2
16+
- run: cargo clippy

.github/workflows/release.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Artifacts
2+
3+
on:
4+
push:
5+
tags:
6+
- "*"
7+
8+
jobs:
9+
clippy_check:
10+
runs-on: ubuntu-latest
11+
12+
permissions:
13+
contents: write
14+
packages: write
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
- run: rustup toolchain install stable --profile minimal
19+
- uses: Swatinem/rust-cache@v2
20+
- run: cargo build --release
21+
- uses: ncipollo/release-action@v1
22+
with:
23+
artifacts: "target/release/reg-interface"

0 commit comments

Comments
 (0)