Skip to content

Commit 3e1ee11

Browse files
committed
feat: hydra-queue-runner-v2
1 parent 79ba8fd commit 3e1ee11

File tree

87 files changed

+18134
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+18134
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[build]
2+
rustflags = ["--cfg", "tokio_unstable"]
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
on: [push, pull_request]
2+
3+
name: rust
4+
5+
env:
6+
CARGO_TERM_COLOR: always
7+
8+
jobs:
9+
lint:
10+
name: Lint
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout sources
14+
uses: actions/checkout@v4
15+
16+
- name: Install stable toolchain
17+
uses: dtolnay/rust-toolchain@stable
18+
with:
19+
components: clippy
20+
21+
- name: Install dependencies
22+
run: sudo apt update && sudo apt install -y pkg-config protobuf-compiler
23+
24+
- run: cargo check --all --tests --all-features
25+
- run: cargo clippy --all --tests --all-features -- -D warnings
26+
27+
fmt:
28+
name: Format Check
29+
runs-on: ubuntu-latest
30+
steps:
31+
- name: Checkout sources
32+
uses: actions/checkout@v4
33+
34+
- name: Install stable toolchain
35+
uses: dtolnay/rust-toolchain@stable
36+
with:
37+
components: rustfmt
38+
39+
- run: cargo fmt --all -- --check
40+
41+
build:
42+
name: Build
43+
runs-on: ubuntu-latest
44+
steps:
45+
- name: Checkout sources
46+
uses: actions/checkout@v4
47+
48+
- name: Install stable toolchain
49+
uses: dtolnay/rust-toolchain@stable
50+
51+
- name: Install dependencies
52+
run: sudo apt update && sudo apt install -y pkg-config protobuf-compiler
53+
54+
- run: cargo build --all --tests --all-features --examples
55+
56+
test:
57+
name: Test
58+
runs-on: ubuntu-latest
59+
steps:
60+
- name: Checkout sources
61+
uses: actions/checkout@v4
62+
63+
- name: Install stable toolchain
64+
uses: dtolnay/rust-toolchain@stable
65+
66+
- name: Install dependencies
67+
run: sudo apt update && sudo apt install -y pkg-config protobuf-compiler
68+
69+
- run: cargo test
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/.direnv
2+
/target
3+
/.env

src/hydra-queue-runner-v2/.sqlx/query-049c2b15e5806241473754264be493889dfa874d73dfe257a2b8554b6543acaf.json

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/hydra-queue-runner-v2/.sqlx/query-05e4170e17728e552240a2474d97bdd750d7adc15ea27c0d7b10ba5330ca4f9e.json

Lines changed: 80 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/hydra-queue-runner-v2/.sqlx/query-0626225fd580d1b49375835b17e129af1b84c9db615bdd224c5a36ed60344414.json

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/hydra-queue-runner-v2/.sqlx/query-0b0f985664863d2e7883f7460fc451de6f773b2fd0348a471e8e03571dc80492.json

Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/hydra-queue-runner-v2/.sqlx/query-0f15524bd358e02a14c66f9058c866e937d5a124040f77ac62c20371c7421ff5.json

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/hydra-queue-runner-v2/.sqlx/query-1a5a0676ca03a1c4659f05b45e1a32719dac5fa8bbb879afd3c0e1e106178d59.json

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/hydra-queue-runner-v2/.sqlx/query-2a6f7b562d13337e240588d25734f9ea9c9601b2d010aa93038872c1538d0816.json

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)