Skip to content

Commit

Permalink
Fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-congo committed Feb 8, 2024
1 parent 258fc6b commit b5f5db4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ jobs:
working-directory: ./go
run: make install-dependencies

- name: Setup upterm session
uses: lhotari/action-upterm@v1

- name: Build client
working-directory: ./go
run: |
Expand All @@ -82,7 +79,7 @@ jobs:

- name: Run staticcheck linter
working-directory: ./go
run: go staticcheck .
run: staticcheck .

- name: Run unit tests
working-directory: ./go
Expand Down
2 changes: 2 additions & 0 deletions go/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ build-glide-client:
cargo build --release

generate-protobuf:
mkdir -p protobuf
protoc --proto_path=../glide-core/src/protobuf \
--go_opt=Mconnection_request.proto=github.com/aws/glide-for-redis/go/protobuf \
--go_opt=Mredis_request.proto=github.com/aws/glide-for-redis/go/protobuf \
Expand All @@ -26,4 +27,5 @@ lint:
staticcheck ./...

unit-test-report:
mkdir -p reports
go test ./... -json | go-test-report -o reports/unit-test-report.html
4 changes: 1 addition & 3 deletions go/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/**
* Copyright GLIDE-for-Redis Project Contributors - SPDX Identifier: Apache-2.0
*/
use std::{
ffi::c_void
};
use std::ffi::c_void;

#[no_mangle]
pub extern "C" fn create_connection() -> *const c_void {
Expand Down

0 comments on commit b5f5db4

Please sign in to comment.