Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 26 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,29 @@ env:
RUST_BACKTRACE: 1

jobs:
# Job 1: Format Check
build-node:
name: [TS] Build
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install dependencies
run: npm ci
working-directory: ./reader/ts

- name: Build project
run: npm run build
working-directory: ./reader/ts

format:
name: Format Check
name: [RUST] Format Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -25,9 +45,8 @@ jobs:
- name: Check formatting
run: cargo fmt --all -- --check

# Job 2: Lint Check
lint:
name: Lint Check
name: [RUST] Lint Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -52,9 +71,8 @@ jobs:
- name: Run clippy
run: cargo clippy --all-targets --all-features

# Job 3: Build
build:
name: Build
name: [RUST] Build
needs: [ lint, format ]
runs-on: ubuntu-latest
steps:
Expand All @@ -79,7 +97,7 @@ jobs:
run: cargo build --verbose --all-features

package:
name: Package
name: [RUST] Package
needs: build
runs-on: ubuntu-latest
steps:
Expand All @@ -103,7 +121,7 @@ jobs:
run: cargo package --allow-dirty --verbose --all-features

report:
name: Report
name: [RUST] Report
needs: [ build ]
runs-on: ubuntu-latest
steps:
Expand Down
6 changes: 3 additions & 3 deletions reader/ts/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion reader/ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"access": "public"
},
"dependencies": {
"@code0-tech/sagittarius-graphql-types": "^0.0.0-3bdab57d324cfeb2abf2cf60a801039b45de746d",
"@code0-tech/sagittarius-graphql-types": "^0.0.0-00f33663039d78ad59e95306730878c687de5c48 ",
"@code0-tech/tucana": "^0.0.37",
"@protobuf-ts/runtime": "^2.11.1"
}
Expand Down