Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Implement connection manager #1021

Closed
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
2 changes: 1 addition & 1 deletion .github/workflows/010_build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
build-and-test:
runs-on: [self-hosted, tfchainrunner01]
container:
image: threefolddev/tfchain:4
image: threefolddev/tfchain:5
env:
DEBIAN_FRONTEND: noninteractive
PATH: /root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/020_lint_and_test_go_client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,22 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.20"
go-version: "1.21"
cache: false
# cache-dependency-path: clients/tfchain-client-go/go.sum
id: go

- name: golangci-lint
uses: golangci/golangci-lint-action@v3.7.0
uses: golangci/golangci-lint-action@v6
with:
args: --timeout 3m --verbose
working-directory: clients/tfchain-client-go

- name: staticcheck
uses: dominikh/staticcheck-action@v1.3.0
uses: dominikh/staticcheck-action@v1
with:
version: "2022.1.3"
version: "latest"
install-go: false
working-directory: clients/tfchain-client-go
env:
GO111MODULE: on
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build_test.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:20.04
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update && \
apt install -y \
Expand All @@ -16,8 +16,8 @@ RUN apt update && \
zstd \
wget \
protobuf-compiler && \
wget https://go.dev/dl/go1.20.2.linux-amd64.tar.gz && \
tar -xvf go1.20.2.linux-amd64.tar.gz && \
wget https://go.dev/dl/go1.21.13.linux-amd64.tar.gz && \
tar -xvf go1.21.13.linux-amd64.tar.gz && \
mv go /usr/local && \
echo "GOPATH=/usr/local/go" >> ~/.bashrc && \
echo "PATH=\$PATH:\$GOPATH/bin" >> ~/.bashrc && \
Expand Down
35 changes: 0 additions & 35 deletions clients/tfchain-client-go/.github/workflows/lint.yml

This file was deleted.

24 changes: 0 additions & 24 deletions clients/tfchain-client-go/.github/workflows/test.yml

This file was deleted.

Loading
Loading