Skip to content

Commit

Permalink
go
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
  • Loading branch information
Yury-Fridlyand committed Sep 21, 2024
1 parent 7fd9a55 commit bc0836d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/csharp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,20 +194,20 @@ jobs:
benchmarks/results/*
utils/clusters/**
# lint:
# timeout-minutes: 10
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: recursive
#
# - name: lint rust
# uses: ./.github/workflows/lint-rust
# with:
# cargo-toml-folder: csharp/lib
# github-token: ${{ secrets.GITHUB_TOKEN }}
#
# - name: Format
# working-directory: csharp
# run: dotnet format --verify-no-changes --verbosity diagnostic
lint:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: lint rust
uses: ./.github/workflows/lint-rust
with:
cargo-toml-folder: csharp/lib
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Format
working-directory: csharp
run: dotnet format --verify-no-changes --verbosity diagnostic
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ jobs:
run: |
sudo apt install golang-goprotobuf-dev
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GITHUB_WORKSPACE/go/target/release/deps/" >> $GITHUB_ENV
make install-dev-tools install-build-tools generate-protobuf lint-ci
make install-dev-tools install-build-tools generate-protobuf generate-bindings lint-ci
# build-amazonlinux-latest:
# if: github.repository_owner == 'valkey-io'
Expand Down
8 changes: 4 additions & 4 deletions go/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ clean:
rm -f lib.h
rm -f benchmarks/benchmarks


build-glide-client:
build-glide-client: generate-bindings
cargo build --release
cbindgen --config cbindgen.toml --crate glide-rs --output lib.h

build-glide-client-debug:
build-glide-client-debug: generate-bindings
cargo build

generate-bindings:
cbindgen --config cbindgen.toml --crate glide-rs --output lib.h

generate-protobuf:
Expand Down

0 comments on commit bc0836d

Please sign in to comment.